summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-03-16 23:55:20 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-03-16 23:56:15 +0100
commit2e57eba2afd0eef70172501fa51b6e937db6f8d6 (patch)
tree0b70961aa13d37a3d4be8268bd6a11b0f1805e4a /sci-libs/gdal/gdal-2.4.0.ebuild
parentdev-python/miniupnpc: stable 2.1.20190210 for ppc64, bug #679906 (diff)
downloadgentoo-2e57eba2afd0eef70172501fa51b6e937db6f8d6.tar.gz
gentoo-2e57eba2afd0eef70172501fa51b6e937db6f8d6.tar.bz2
gentoo-2e57eba2afd0eef70172501fa51b6e937db6f8d6.zip
sci-libs/gdal: Fix build with poppler-0.72 and 0.73
Closes: https://bugs.gentoo.org/680530 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-libs/gdal/gdal-2.4.0.ebuild')
-rw-r--r--sci-libs/gdal/gdal-2.4.0.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/sci-libs/gdal/gdal-2.4.0.ebuild b/sci-libs/gdal/gdal-2.4.0.ebuild
index 6341ce2b6aee..3faf2202c974 100644
--- a/sci-libs/gdal/gdal-2.4.0.ebuild
+++ b/sci-libs/gdal/gdal-2.4.0.ebuild
@@ -117,6 +117,11 @@ src_prepare() {
-i swig/python/setup.cfg || die "sed python setup.cfg failed"
default
+
+ # fixed in git master or what will become 2.4.1:
+ has_version ">=app-text/poppler-0.72.0" && eapply "${FILESDIR}/${PN}-2.3.1-poppler-0.72.0.patch"
+ has_version ">=app-text/poppler-0.73.0" && eapply "${FILESDIR}/${PN}-2.3.1-poppler-0.73.0.patch"
+
eautoreconf
}