diff options
author | Matteo Bernardini | 2019-11-02 09:32:55 +0100 |
---|---|---|
committer | Matteo Bernardini | 2019-11-02 09:32:55 +0100 |
commit | a5dc6f94e982a5133196f66fb2d33756063bbe57 (patch) | |
tree | ea496620a3bb4185e47b08377b9c82c640f8058c /gis/gdal/poppler.patch | |
parent | 833a418a9448f32874014c89bf70b7f065bdb220 (diff) | |
download | slackbuilds-a5dc6f94e982a5133196f66fb2d33756063bbe57.tar.gz |
20191102.1 global branch merge.current-20191102.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'gis/gdal/poppler.patch')
-rw-r--r-- | gis/gdal/poppler.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gis/gdal/poppler.patch b/gis/gdal/poppler.patch new file mode 100644 index 0000000000..59e9c5b5b3 --- /dev/null +++ b/gis/gdal/poppler.patch @@ -0,0 +1,12 @@ +diff -Naur gdal-2.2.4.orig/frmts/pdf/pdfobject.cpp gdal-2.2.4/frmts/pdf/pdfobject.cpp +--- gdal-2.2.4.orig/frmts/pdf/pdfobject.cpp 2018-03-19 14:26:54.000000000 +0100 ++++ gdal-2.2.4/frmts/pdf/pdfobject.cpp 2019-10-15 06:58:41.248215000 +0200 +@@ -1055,7 +1055,7 @@ + { + if (GetType() == PDFObjectType_String) + { +- GooString* gooString = m_po->getString(); ++ const GooString* gooString = m_po->getString(); + return (osStr = GDALPDFGetUTF8StringFromBytes(reinterpret_cast<const GByte*>(gooString->getCString()), + static_cast<int>(gooString->getLength()))); + } |