Bugzilla – Attachment 158698 Details for
Bug 131353
Core build fails with poppler >= 0.86.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Suggested fix
0001-Fix-build-with-poppler-0.86.0.patch (text/plain), 998 bytes, created by
Martin Whitaker
on 2020-03-15 14:04:56 UTC
(
hide
)
Description:
Suggested fix
Filename:
MIME Type:
Creator:
Martin Whitaker
Created:
2020-03-15 14:04:56 UTC
Size:
998 bytes
patch
obsolete
>From c1adc0a7559340213d754db950fd68bfe9e5a651 Mon Sep 17 00:00:00 2001 >From: Martin Whitaker <foss@martin-whitaker.me.uk> >Date: Sun, 15 Mar 2020 13:14:34 +0000 >Subject: [PATCH] Fix build with poppler 0.86.0. > > >diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx >index e9c2a407c279..16ad04bf660a 100644 >--- 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(); >-- >2.21.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 131353
: 158698