sci-libs/gdal: Fix build with poppler-0.72 and 0.73
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 16 Mar 2019 22:55:20 +0000 (23:55 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 16 Mar 2019 22:56:15 +0000 (23:56 +0100)
Closes: https://bugs.gentoo.org/680530
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
sci-libs/gdal/gdal-2.4.0.ebuild

index 6341ce2b6aeea63e22f7fc82decb119329e32c3a..3faf2202c9749ad1e766676715bd7785e2f3cd10 100644 (file)
@@ -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
 }