shapelib: 1.6.2 → 1.6.3

This commit is contained in:
Nikolay Korotkiy
2026-04-10 21:41:26 +04:00
parent 79373c0161
commit eadbefa672

View File

@@ -2,28 +2,17 @@
lib,
stdenv,
fetchurl,
fetchDebianPatch,
}:
stdenv.mkDerivation rec {
pname = "shapelib";
version = "1.6.2";
version = "1.6.3";
src = fetchurl {
url = "https://download.osgeo.org/shapelib/shapelib-${version}.tar.gz";
hash = "sha256-S3SjbO2U6ae+pAEVfmZK3cxb4lHn33+I1GdDYdoBLCE=";
hash = "sha256-P/Xq0Yym0v4knw6As2HhrWeCFlEVJo7UpYx4CmDB4Os=";
};
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