libreoffice: patch for poppler 25.02
This commit is contained in:
parent
406151fe77
commit
716e3df463
1 changed files with 16 additions and 0 deletions
16
srcpkgs/libreoffice/patches/100-poppler-25.02.diff
Normal file
16
srcpkgs/libreoffice/patches/100-poppler-25.02.diff
Normal file
|
@ -0,0 +1,16 @@
|
|||
diff --git a/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx
|
||||
index ebed120..9b63559 100644
|
||||
--- a/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx
|
||||
+++ b/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx
|
||||
@@ -110,7 +110,11 @@
|
||||
|
||||
/* Get data directory location */
|
||||
#ifdef SYSTEM_POPPLER
|
||||
+#if POPPLER_CHECK_VERSION(25, 0, 2)
|
||||
+ const std::string datadir = "";
|
||||
+#else
|
||||
const char* datadir = nullptr;
|
||||
+#endif
|
||||
#else
|
||||
/* Creates an absolute path to the poppler_data directory, by taking the path
|
||||
* to the xpdfimport executable (provided in argv[0], and concatenating a
|
Loading…
Add table
Add a link
Reference in a new issue