gnu: libfreehand: Fix build with ICU 65.
* gnu/packages/libreoffice.scm (libfreehand)[arguments]: New field.
This commit is contained in:
parent
25a2f2efa1
commit
c6af97b70a
1 changed files with 11 additions and 0 deletions
|
@ -482,6 +482,17 @@ library primarily intended for language guessing.")
|
||||||
(sha256 (base32
|
(sha256 (base32
|
||||||
"1b1lvqh68rwij1yvmxy02hsmh7i74ma5767mk8mg5nx6chajshhf"))))
|
"1b1lvqh68rwij1yvmxy02hsmh7i74ma5767mk8mg5nx6chajshhf"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:phases (modify-phases %standard-phases
|
||||||
|
(add-before 'build 'adjust-for-ICU-65
|
||||||
|
(lambda _
|
||||||
|
;; Fix build with ICU 65 and later. Taken from this
|
||||||
|
;; upstream commit, remove for libfreehand > 0.1.2:
|
||||||
|
;; https://gerrit.libreoffice.org/#/c/80224/
|
||||||
|
(substitute* "src/lib/libfreehand_utils.cpp"
|
||||||
|
(("U16_NEXT.*" all)
|
||||||
|
(string-append all ";\n")))
|
||||||
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("cppunit" ,cppunit)
|
`(("cppunit" ,cppunit)
|
||||||
("doxygen" ,doxygen)
|
("doxygen" ,doxygen)
|
||||||
|
|
Reference in a new issue