diff options
author | TBK <tbk@jjtc.eu> | 2020-03-02 19:25:33 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-03-03 02:25:50 -0300 |
commit | ab7a22a0af0acf6db80eae25fb30000ac51eb779 (patch) | |
tree | 585fcd44756cd511503f787401aae26fe340ef8a /community/libreoffice/fix-poppler.patch | |
parent | 89d735737ed53ae7285c89c84a26da31a97c862e (diff) | |
download | aports-ab7a22a0af0acf6db80eae25fb30000ac51eb779.tar.bz2 aports-ab7a22a0af0acf6db80eae25fb30000ac51eb779.tar.xz |
community/libreoffice: upgrade to 6.4.1.2
Diffstat (limited to 'community/libreoffice/fix-poppler.patch')
-rw-r--r-- | community/libreoffice/fix-poppler.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/libreoffice/fix-poppler.patch b/community/libreoffice/fix-poppler.patch new file mode 100644 index 0000000000..feac54d5c4 --- /dev/null +++ b/community/libreoffice/fix-poppler.patch @@ -0,0 +1,13 @@ +--- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx ++++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx +@@ -563,7 +563,9 @@ void PDFOutDev::processLink(Link* link, Catalog*) + if (!(pAction && pAction->getKind() == actionURI)) + return; + +-#if POPPLER_CHECK_VERSION(0, 72, 0) ++#if POPPLER_CHECK_VERSION(0, 86, 0) ++ const char* pURI = static_cast<LinkURI*>(pAction)->getURI().c_str(); ++#elif POPPLER_CHECK_VERSION(0, 72, 0) + const char* pURI = static_cast<LinkURI*>(pAction)->getURI()->c_str(); + #else + const char* pURI = static_cast<LinkURI*>(pAction)->getURI()->getCString(); |