diff options
author | Đoàn Trần Công Danh <congdanhqx@gmail.com> | 2025-02-28 13:17:06 +0000 |
---|---|---|
committer | Đoàn Trần Công Danh <congdanhqx@gmail.com> | 2025-02-28 13:17:35 +0000 |
commit | 716e3df4635e047fe6238756bbd2ab045e788042 (patch) | |
tree | 00bc43c291ff28969c9b4f338930cd0d8e34aa73 | |
parent | 406151fe77bd6c04c3047ed96327ae672ab4057a (diff) | |
download | void-packages-716e3df4635e047fe6238756bbd2ab045e788042.tar void-packages-716e3df4635e047fe6238756bbd2ab045e788042.tar.gz void-packages-716e3df4635e047fe6238756bbd2ab045e788042.tar.bz2 void-packages-716e3df4635e047fe6238756bbd2ab045e788042.tar.lz void-packages-716e3df4635e047fe6238756bbd2ab045e788042.tar.xz void-packages-716e3df4635e047fe6238756bbd2ab045e788042.tar.zst void-packages-716e3df4635e047fe6238756bbd2ab045e788042.zip |
libreoffice: patch for poppler 25.02
-rw-r--r-- | srcpkgs/libreoffice/patches/100-poppler-25.02.diff | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/srcpkgs/libreoffice/patches/100-poppler-25.02.diff b/srcpkgs/libreoffice/patches/100-poppler-25.02.diff new file mode 100644 index 00000000000..d08a66c5499 --- /dev/null +++ b/srcpkgs/libreoffice/patches/100-poppler-25.02.diff @@ -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 |