commit:     2e57eba2afd0eef70172501fa51b6e937db6f8d6
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 16 22:55:20 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Mar 16 22:56:15 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e57eba2

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 <AT> gentoo.org>

 sci-libs/gdal/gdal-2.4.0.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sci-libs/gdal/gdal-2.4.0.ebuild b/sci-libs/gdal/gdal-2.4.0.ebuild
index 6341ce2b6ae..3faf2202c97 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
 }
 

Reply via email to