diff --git a/pkgs/development/libraries/givaro/default.nix b/pkgs/development/libraries/givaro/default.nix index 44ef1637443f..b9eaaa96965f 100644 --- a/pkgs/development/libraries/givaro/default.nix +++ b/pkgs/development/libraries/givaro/default.nix @@ -31,6 +31,13 @@ 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="; + }) ]; enableParallelBuilding = true;