mapnik: fix build with new icu via upstream patch

This commit is contained in:
Vladimír Čunát 2017-10-15 11:57:52 +02:00
parent 21034a44f0
commit 3932a91776
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip
{ stdenv, fetchzip, fetchpatch
, boost, cairo, freetype, gdal, harfbuzz, icu, libjpeg, libpng, libtiff
, libwebp, libxml2, proj, python2, scons, sqlite, zlib
@ -16,6 +16,12 @@ stdenv.mkDerivation rec {
sha256 = "189wsd6l6awblkiha666l1sdyp7ifmnfsa87y0j37rvym6w4r065";
};
patches = [(fetchpatch {
name = "icu-59.diff";
url = https://github.com/mapnik/mapnik/commit/9e58c890430d.diff;
sha256 = "0h546qq8g19gw9s4979hla9vkq5kcwh3q45ryajyjhmlr2z9fi6p";
})];
# a distinct dev output makes python-mapnik fail
outputs = [ "out" ];