summaryrefslogtreecommitdiff
path: root/user/libe-book/fix-icu68.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-04-29 20:19:31 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:58 -0500
commit970469d78706c8ff1c59ac8b2597407114cb9be7 (patch)
tree299bd8be28d222a5254dee69c6834d9c5bdb7b2d /user/libe-book/fix-icu68.patch
parentcd2440992cc7a2c9408236126eff983581c9997d (diff)
downloadpackages-970469d78706c8ff1c59ac8b2597407114cb9be7.tar.gz
packages-970469d78706c8ff1c59ac8b2597407114cb9be7.tar.bz2
packages-970469d78706c8ff1c59ac8b2597407114cb9be7.tar.xz
packages-970469d78706c8ff1c59ac8b2597407114cb9be7.zip
user/libe-book: add patch for modern icu. fixes #614.
Diffstat (limited to 'user/libe-book/fix-icu68.patch')
-rw-r--r--user/libe-book/fix-icu68.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/user/libe-book/fix-icu68.patch b/user/libe-book/fix-icu68.patch
new file mode 100644
index 000000000..c6d3e2193
--- /dev/null
+++ b/user/libe-book/fix-icu68.patch
@@ -0,0 +1,13 @@
+Subject: from https://sourceforge.net/p/libebook/code/ci/edc7a50a06f56992fe21a80afb4f20fbdc5654ed/
+
+--- a/src/lib/EBOOKCharsetConverter.cpp
++++ b/src/lib/EBOOKCharsetConverter.cpp
+@@ -124,7 +124,7 @@
+ m_converterToUTF8.get(), m_converterToUnicode.get(),
+ &outText, outText + out.size(), &inText, inText + length,
+ nullptr, nullptr, nullptr, nullptr,
+- TRUE, TRUE, &status)
++ true, true, &status)
+ ;
+ if (status==U_BUFFER_OVERFLOW_ERROR)
+ {