aboutsummaryrefslogtreecommitdiff
path: root/textproc/libe-book
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-11-03 00:56:26 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-11-03 00:56:26 +0000
commit6d5d6429d5880f9fdf4b4b54c0fb53e44b3927f9 (patch)
treedb7a5d68a7b148f62f63c9562391af1272e3f376 /textproc/libe-book
parent91d87ad6cea9c90bdf179910d1ab72b833a67768 (diff)
downloadports-6d5d6429d5880f9fdf4b4b54c0fb53e44b3927f9.tar.gz
ports-6d5d6429d5880f9fdf4b4b54c0fb53e44b3927f9.zip
devel/icu: update to 68.1
Notes
Notes: svn path=/head/; revision=553940
Diffstat (limited to 'textproc/libe-book')
-rw-r--r--textproc/libe-book/Makefile2
-rw-r--r--textproc/libe-book/files/patch-icu6820
2 files changed, 21 insertions, 1 deletions
diff --git a/textproc/libe-book/Makefile b/textproc/libe-book/Makefile
index ad5081ef1d11..ec1fce695539 100644
--- a/textproc/libe-book/Makefile
+++ b/textproc/libe-book/Makefile
@@ -2,7 +2,7 @@
PORTNAME= libe-book
PORTVERSION= 0.1.3
-PORTREVISION= 18
+PORTREVISION= 19
CATEGORIES= textproc
MASTER_SITES= SF/libebook/${PORTNAME}-${PORTVERSION}/
diff --git a/textproc/libe-book/files/patch-icu68 b/textproc/libe-book/files/patch-icu68
new file mode 100644
index 000000000000..17f6d8e84cd1
--- /dev/null
+++ b/textproc/libe-book/files/patch-icu68
@@ -0,0 +1,20 @@
+Regressed by https://github.com/unicode-org/icu/commit/c3fe7e09d844
+
+EBOOKCharsetConverter.cpp:127:7: error: use of undeclared identifier 'TRUE'
+ TRUE, TRUE, &status)
+ ^
+EBOOKCharsetConverter.cpp:127:13: error: use of undeclared identifier 'TRUE'
+ TRUE, TRUE, &status)
+ ^
+
+--- src/lib/EBOOKCharsetConverter.cpp.orig 2018-01-01 11:16:28 UTC
++++ src/lib/EBOOKCharsetConverter.cpp
+@@ -124,7 +124,7 @@ bool EBOOKCharsetConverter::convertBytes(const char *c
+ 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)
+ {