diff options
author | ryoon <ryoon@pkgsrc.org> | 2018-12-11 12:59:49 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2018-12-11 12:59:49 +0000 |
commit | 367a68c8c094b7be4396331e5bbdaa95760c2457 (patch) | |
tree | 1c13a0d0c0d64f0105a44772adbab226039ca58a /misc/libreoffice/patches | |
parent | c2c953266172cb5ab7d91d74bfb3cb21a7f85389 (diff) | |
download | pkgsrc-367a68c8c094b7be4396331e5bbdaa95760c2457.tar.gz |
Fix build with poppler-0.72
Diffstat (limited to 'misc/libreoffice/patches')
-rw-r--r-- | misc/libreoffice/patches/patch-sdext_source_pdfimport_xpdfwrapper_pdfioutdev__gpl.cxx | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/misc/libreoffice/patches/patch-sdext_source_pdfimport_xpdfwrapper_pdfioutdev__gpl.cxx b/misc/libreoffice/patches/patch-sdext_source_pdfimport_xpdfwrapper_pdfioutdev__gpl.cxx index 90ca9cfc45d..eefab486066 100644 --- a/misc/libreoffice/patches/patch-sdext_source_pdfimport_xpdfwrapper_pdfioutdev__gpl.cxx +++ b/misc/libreoffice/patches/patch-sdext_source_pdfimport_xpdfwrapper_pdfioutdev__gpl.cxx @@ -1,4 +1,4 @@ -$NetBSD: patch-sdext_source_pdfimport_xpdfwrapper_pdfioutdev__gpl.cxx,v 1.6 2018/12/04 12:56:49 ryoon Exp $ +$NetBSD: patch-sdext_source_pdfimport_xpdfwrapper_pdfioutdev__gpl.cxx,v 1.7 2018/12/11 12:59:49 ryoon Exp $ --- sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx.orig 2018-10-29 19:55:29.000000000 +0000 +++ sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx @@ -11,6 +11,15 @@ $NetBSD: patch-sdext_source_pdfimport_xpdfwrapper_pdfioutdev__gpl.cxx,v 1.6 2018 m_bSkipImages(false) { } +@@ -555,7 +555,7 @@ void PDFOutDev::processLink(Link* link, + LinkAction* pAction = link->getAction(); + if (pAction && pAction->getKind() == actionURI) + { +- const char* pURI = static_cast<LinkURI*>(pAction)->getURI()->getCString(); ++ const char* pURI = static_cast<LinkURI*>(pAction)->getURI()->c_str(); + + std::vector<char> aEsc( lcl_escapeLineFeeds(pURI) ); + @@ -578,7 +578,7 @@ void PDFOutDev::restoreState(GfxState*) printf( "restoreState\n" ); } @@ -20,6 +29,15 @@ $NetBSD: patch-sdext_source_pdfimport_xpdfwrapper_pdfioutdev__gpl.cxx,v 1.6 2018 { assert(pMat); +@@ -753,7 +753,7 @@ void PDFOutDev::updateFont(GfxState *sta + + aFont = it->second; + +- std::vector<char> aEsc( lcl_escapeLineFeeds(aFont.familyName.getCString()) ); ++ std::vector<char> aEsc( lcl_escapeLineFeeds(aFont.familyName.c_str()) ); + printf( " %d %d %d %d %f %d %s", + aFont.isEmbedded, + aFont.isBold, @@ -939,11 +939,11 @@ void PDFOutDev::endTextObject(GfxState*) } |