[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/05: gnu: libe-book: Fix building with icu4c-69.
From: |
guix-commits |
Subject: |
01/05: gnu: libe-book: Fix building with icu4c-69. |
Date: |
Sun, 8 Aug 2021 08:15:41 -0400 (EDT) |
efraim pushed a commit to branch core-updates-frozen
in repository guix.
commit 990704507be4ec0ef37f4d3e2f319421331fa59c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Aug 8 13:59:08 2021 +0300
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.
---
gnu/packages/libreoffice.scm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index c1e7a58..87a9494 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -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)