From 23cc1fd2ed5dd8b31c1bca8a4d046e26d366ef2e Mon Sep 17 00:00:00 2001 From: maxice8 Date: Fri, 7 Dec 2018 04:54:29 -0200 Subject: [PATCH] libgdal: rebuild against libpoppler.so.83 --- srcpkgs/libgdal/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/libgdal/template b/srcpkgs/libgdal/template index 30231c34d64..ed754273abf 100644 --- a/srcpkgs/libgdal/template +++ b/srcpkgs/libgdal/template @@ -1,7 +1,7 @@ # Template file for 'libgdal' pkgname=libgdal version=2.3.2 -revision=5 +revision=6 wrksrc="gdal-${version}" build_style=gnu-configure configure_args="--with-liblzma --with-poppler" @@ -18,7 +18,8 @@ checksum=3f6d78fe8807d1d6afb7bed27394f19467840a82bc36d65e66316fa0aa9d32a4 subpackages="libgdal-devel libgdal-tools" pre_build() { - find frmts/pdf -type f | xargs sed -e 's|GBool|bool|g' -e 's|gFalse|false|g' -i + # Fix for poppler changes on 0.72 and before + find frmts/pdf -type f | xargs sed -e 's|GBool|bool|g' -e 's|gFalse|false|g' -e 's|getCString|c_str|g' -i } post_install() {