gnu: libe-book: Fix building with icu4c-69.

* gnu/packages/libreoffice.scm (libe-book)[source]: Add snippet to work
around changes in icu4c's code.
This commit is contained in:
Efraim Flashner 2021-08-08 13:59:08 +03:00
parent 086183598e
commit 990704507b
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -272,8 +272,16 @@ into other word processors.")
(uri (string-append "mirror://sourceforge/libebook/libe-book-"
version "/libe-book-" version ".tar.xz"))
(sha256
(base32
"1yg1vws1wggzhjw672bpgh2x541g5i9wryf67g51m0r79zrqz3by"))))
(base32
"1yg1vws1wggzhjw672bpgh2x541g5i9wryf67g51m0r79zrqz3by"))
(modules '((guix build utils)))
(snippet
'(begin
;; This can be removed with the next release.
;; Needed for icu4c compatibility >= 68.0.
(substitute* "src/lib/EBOOKCharsetConverter.cpp"
(("TRUE, TRUE, &status")
"true, true, &status"))))))
(build-system gnu-build-system)
(native-inputs
`(("cppunit" ,cppunit)