summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conrad@kostecki.com>2018-06-19 00:05:37 +0200
committerAmy Liffey <amynka@gentoo.org>2018-06-19 11:08:55 +0200
commitd2fd2e5c98f0a2f84a519ff1b9f659991a704a82 (patch)
tree650fe9412e358bce9c543eaf3f435d1ef28f8320 /sci-libs/gdal/files
parentapp-crypt/gnupg: revert removal of mta (diff)
downloadgentoo-d2fd2e5c98f0a2f84a519ff1b9f659991a704a82.tar.gz
gentoo-d2fd2e5c98f0a2f84a519ff1b9f659991a704a82.tar.bz2
gentoo-d2fd2e5c98f0a2f84a519ff1b9f659991a704a82.zip
sci-libs/gdal: fix compilation with >=app-text/poppler-0.64.0
Closes: https://bugs.gentoo.org/656252 Closes: https://github.com/gentoo/gentoo/pull/8895 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'sci-libs/gdal/files')
-rw-r--r--sci-libs/gdal/files/gdal-2.2.3-goocast.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-libs/gdal/files/gdal-2.2.3-goocast.patch b/sci-libs/gdal/files/gdal-2.2.3-goocast.patch
new file mode 100644
index 000000000000..a25a524c2538
--- /dev/null
+++ b/sci-libs/gdal/files/gdal-2.2.3-goocast.patch
@@ -0,0 +1,11 @@
+--- a/frmts/pdf/pdfobject.cpp 2018-05-29 11:23:00.980957371 +0300
++++ b/frmts/pdf/pdfobject.cpp 2018-05-29 11:23:44.378955265 +0300
+@@ -1055,7 +1055,7 @@
+ {
+ if (GetType() == PDFObjectType_String)
+ {
+- GooString* gooString = m_po->getString();
++ GooString* gooString =(GooString*) m_po->getString();
+ return (osStr = GDALPDFGetUTF8StringFromBytes(reinterpret_cast<const GByte*>(gooString->getCString()),
+ static_cast<int>(gooString->getLength())));
+ }