diff --git a/pkgs/development/libraries/givaro/default.nix b/pkgs/development/libraries/givaro/default.nix index 44ef1637443f..7bd18824b89d 100644 --- a/pkgs/development/libraries/givaro/default.nix +++ b/pkgs/development/libraries/givaro/default.nix @@ -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;