Merge pull request #245244 from sikmir/osm2pgsql

osm2pgsql: fix build
This commit is contained in:
Mario Rodas 2023-07-24 19:43:41 -05:00 committed by GitHub
commit 0e4ec34fc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,7 @@
, fetchFromGitHub
, cmake
, expat
, fetchpatch
, fmt
, proj
, bzip2
@ -27,6 +28,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-8Jefd8dfoh/an7wd+8iTM0uOKA4UiUo8t2WzZs4r/Ck=";
};
patches = [
# Fix compatiblity with fmt 10.0. Remove with the next release
(fetchpatch {
url = "https://github.com/openstreetmap/osm2pgsql/commit/37aae6c874b58cd5cd27e70b2b433d6624fd7498.patch";
hash = "sha256-Fv2zPqhRDoJXlqB1Q9q5iskn28iqq3TYPcdqfu/pvD4=";
})
];
postPatch = ''
# Remove bundled libraries
rm -r contrib