tilemaker: fix build with Boost 1.86+
This commit is contained in:
parent
4534205b61
commit
37667218ab
@ -3,6 +3,7 @@
|
|||||||
stdenv,
|
stdenv,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
buildPackages,
|
buildPackages,
|
||||||
|
fetchpatch,
|
||||||
cmake,
|
cmake,
|
||||||
installShellFiles,
|
installShellFiles,
|
||||||
boost,
|
boost,
|
||||||
@ -26,6 +27,14 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
hash = "sha256-rB5oP03yaIzklwkGsIeS9ELbHOY9AObwjRrK9HBQFI4=";
|
hash = "sha256-rB5oP03yaIzklwkGsIeS9ELbHOY9AObwjRrK9HBQFI4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# fixes for Boost 1.86
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/systemed/tilemaker/commit/6509f0cf50943a90b36b5c6802118b72124b1e7a.patch";
|
||||||
|
hash = "sha256-C4aCUGTTUtY24oARihMnljjRbw80xRdMUyvu/b1Nsdw=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace src/options_parser.cpp \
|
substituteInPlace src/options_parser.cpp \
|
||||||
--replace-fail "config.json" "$out/share/tilemaker/config-openmaptiles.json" \
|
--replace-fail "config.json" "$out/share/tilemaker/config-openmaptiles.json" \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user