shapelib: fix build with gcc 15 (#474015)

This commit is contained in:
Vladimír Čunát
2025-12-26 07:28:03 +00:00
committed by GitHub
+11
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
fetchDebianPatch,
}:
stdenv.mkDerivation rec {
@@ -13,6 +14,16 @@ stdenv.mkDerivation rec {
hash = "sha256-S3SjbO2U6ae+pAEVfmZK3cxb4lHn33+I1GdDYdoBLCE=";
};
patches = [
# Fix build with gcc 15
(fetchDebianPatch {
inherit pname version;
debianRevision = "1";
patch = "gcc-15.patch";
hash = "sha256-ubd8L2hxSAxTDiOSToVHGLHkpGOap5bnozdVdv9VgCQ=";
})
];
doCheck = true;
preCheck = ''
patchShebangs tests contrib/tests