spades: fix build with gcc 15
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
bzip2,
|
||||
cmake,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
ncurses,
|
||||
python3,
|
||||
readline,
|
||||
@@ -20,6 +21,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-BlZjfZKtCm1kWNPjdth3pYFN0plU7xfTsFotPefzzMY=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Add missing <cstdint> for uint{8,64}_t to fix build with gcc 15.
|
||||
(fetchpatch2 {
|
||||
url = "https://github.com/ablab/spades/commit/10b6af96ead72fdb19e8e524aa24bdcff9986e76.patch?full_index=1";
|
||||
stripLen = 2;
|
||||
extraPrefix = "";
|
||||
hash = "sha256-yAQVqE6DwPe+GZ4VR1cGytaO8NmHz6TUG7EdtbxIuTU=";
|
||||
})
|
||||
];
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/src";
|
||||
|
||||
cmakeFlags = [
|
||||
|
||||
Reference in New Issue
Block a user