merkaartor: fix build with gdal 3.12

This commit is contained in:
Ivan Mincik
2025-12-15 15:41:49 +01:00
parent e74ea94ba6
commit 219f8ef481
+11
View File
@@ -2,6 +2,8 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
pkg-config,
gdal,
@@ -29,6 +31,15 @@ stdenv.mkDerivation rec {
hash = "sha256-oxLGhIE1qJ9+GOztD1HvrLGRGVO3gyy7Rc6CyzKTFec=";
};
patches = [
# Fix for GDAL 3.12
# https://github.com/openstreetmap/merkaartor/pull/316
(fetchpatch {
url = "https://github.com/openstreetmap/merkaartor/commit/28cca84e9f5db0aaba87c2084ed32f9677598823.diff";
hash = "sha256-so0La5djYhWF6NqLpShWa3vGl5A2jkS3Xwg5Pe1yse4=";
})
];
nativeBuildInputs = [
cmake
pkg-config