gdal: fix build with poppler 0.73

This commit is contained in:
Gabriel Ebner 2019-01-19 15:42:58 +01:00
parent 6f8e0ae608
commit d2f39adea9

View File

@ -51,6 +51,20 @@ stdenv.mkDerivation rec {
#ifdef swap\ #ifdef swap\
#undef swap\ #undef swap\
#endif' ogr/ogrsf_frmts/mysql/ogr_mysql.h #endif' ogr/ogrsf_frmts/mysql/ogr_mysql.h
# poppler 0.73.0 support
patch -lp2 <${
fetchpatch {
url = "https://github.com/OSGeo/gdal/commit/29f4dfbcac2de718043f862166cd639ab578b552.diff";
sha256 = "0xaxj0nj7j8prw1xrdwqs2in9iwyizqprpaibfbhjmsanyl2lfsx";
}
} || true
patch -p2 <${
fetchpatch {
url = "https://github.com/OSGeo/gdal/commit/19967e682738977e11e1d0336e0178882c39cad2.diff";
sha256 = "0jmdkyzlw0rcv4apcaki6pszcb1dca3lljy06sjh60yh795wlqd6";
}
}
''; '';
# - Unset CC and CXX as they confuse libtool. # - Unset CC and CXX as they confuse libtool.