mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 06:37:08 +01:00
gnu: libreoffice: Fix build with Poppler >= 0.62.0.
* gnu/packages/libreoffice.scm (libreoffice)[arguments]: Patch header and function names in 'prepare-src' phase.
This commit is contained in:
parent
04941fc550
commit
eb096cdeba
1 changed files with 6 additions and 0 deletions
|
@ -945,6 +945,12 @@ (define-public libreoffice
|
|||
(add-before 'configure 'prepare-src
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((xmlsec (assoc-ref inputs "xmlsec-src")))
|
||||
(substitute*
|
||||
"sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx"
|
||||
;; This header was renamed in Poppler 0.62.0.
|
||||
(("UTF8.h") "UnicodeMapFuncs.h")
|
||||
;; And mapUCS2() was renamed to mapUTF16().
|
||||
(("UCS2") "UTF16"))
|
||||
(substitute*
|
||||
(list "sysui/CustomTarget_share.mk"
|
||||
"solenv/gbuild/gbuild.mk"
|
||||
|
|
Loading…
Reference in a new issue