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

authored by Mauricio Collares and committed by GitHub ca05713c 19305d94

+13
+13
pkgs/development/libraries/givaro/default.nix
··· 31 url = "https://github.com/linbox-team/givaro/commit/a81d44b3b57c275bcb04ab00db79be02561deaa2.patch"; 32 hash = "sha256-sSk+VWffoEjZRTJcHRISLHPyW6yuvI1u8knBOfxNUIE="; 33 }) 34 ]; 35 36 enableParallelBuilding = true;
··· 31 url = "https://github.com/linbox-team/givaro/commit/a81d44b3b57c275bcb04ab00db79be02561deaa2.patch"; 32 hash = "sha256-sSk+VWffoEjZRTJcHRISLHPyW6yuvI1u8knBOfxNUIE="; 33 }) 34 + # https://github.com/linbox-team/givaro/issues/226 35 + (fetchpatch { 36 + name = "gcc-14.patch"; 37 + url = "https://github.com/linbox-team/givaro/commit/b0cf33e1d4437530c7e4b3db90b6c80057a7f2f3.patch"; 38 + includes = [ "src/kernel/integer/random-integer.h" ]; 39 + hash = "sha256-b2Q8apP9ueEqIUtibTeP47x6TlroRzLgAxuv5ZM1EUw="; 40 + }) 41 + # https://github.com/linbox-team/givaro/issues/232 42 + (fetchpatch { 43 + name = "clang-19.patch"; 44 + url = "https://github.com/linbox-team/givaro/commit/a18baf5227d4f3e81a50850fe98e0d954eaa3ddb.patch"; 45 + hash = "sha256-IR0IHhCqbxgtsST30vxM9ak1nGtt0apxcLUQ1kS1DHw="; 46 + }) 47 ]; 48 49 enableParallelBuilding = true;