shapelib: fix build with gcc 15 (#474015)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user