tilemaker: fix build with Boost 1.86+

This commit is contained in:
FliegendeWurst 2025-03-29 18:43:06 +01:00
parent 4534205b61
commit 37667218ab

View File

@ -3,6 +3,7 @@
stdenv,
fetchFromGitHub,
buildPackages,
fetchpatch,
cmake,
installShellFiles,
boost,
@ -26,6 +27,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-rB5oP03yaIzklwkGsIeS9ELbHOY9AObwjRrK9HBQFI4=";
};
patches = [
# fixes for Boost 1.86
(fetchpatch {
url = "https://github.com/systemed/tilemaker/commit/6509f0cf50943a90b36b5c6802118b72124b1e7a.patch";
hash = "sha256-C4aCUGTTUtY24oARihMnljjRbw80xRdMUyvu/b1Nsdw=";
})
];
postPatch = ''
substituteInPlace src/options_parser.cpp \
--replace-fail "config.json" "$out/share/tilemaker/config-openmaptiles.json" \