libeb: fix the build against gcc-14 (#369191)

This commit is contained in:
Emily
2024-12-29 19:22:39 +00:00
committed by GitHub
+9
View File
@@ -4,6 +4,7 @@
fetchurl,
perl,
zlib,
fetchpatch,
}:
stdenv.mkDerivation rec {
pname = "libeb";
@@ -14,6 +15,14 @@ stdenv.mkDerivation rec {
sha256 = "0psbdzirazfnn02hp3gsx7xxss9f1brv4ywp6a15ihvggjki1rxb";
};
patches = [
(fetchpatch {
name = "gcc-14.patch";
url = "https://salsa.debian.org/debian/eb/-/raw/50c84ee2d190083fc88a14e62ef9fef779d088de/debian/patches/0002-gcc14-fix.patch";
hash = "sha256-0hht7ojj4MLNfFbemDR2hD1PbSmBxrC2JtDl2WJINlM=";
})
];
nativeBuildInputs = [ perl ];
buildInputs = [ zlib ];