givaro: fix gcc-14 /clang-19 builds (#369897)

This commit is contained in:
Mauricio Collares
2025-01-01 15:27:45 +01:00
committed by GitHub
@@ -31,6 +31,19 @@ stdenv.mkDerivation rec {
url = "https://github.com/linbox-team/givaro/commit/a81d44b3b57c275bcb04ab00db79be02561deaa2.patch";
hash = "sha256-sSk+VWffoEjZRTJcHRISLHPyW6yuvI1u8knBOfxNUIE=";
})
# https://github.com/linbox-team/givaro/issues/226
(fetchpatch {
name = "gcc-14.patch";
url = "https://github.com/linbox-team/givaro/commit/b0cf33e1d4437530c7e4b3db90b6c80057a7f2f3.patch";
includes = [ "src/kernel/integer/random-integer.h" ];
hash = "sha256-b2Q8apP9ueEqIUtibTeP47x6TlroRzLgAxuv5ZM1EUw=";
})
# https://github.com/linbox-team/givaro/issues/232
(fetchpatch {
name = "clang-19.patch";
url = "https://github.com/linbox-team/givaro/commit/a18baf5227d4f3e81a50850fe98e0d954eaa3ddb.patch";
hash = "sha256-IR0IHhCqbxgtsST30vxM9ak1nGtt0apxcLUQ1kS1DHw=";
})
];
enableParallelBuilding = true;