libe-book: rebuild for icu-69.1

This commit is contained in:
Duncaen 2021-08-10 14:12:26 +02:00
parent ef7fa35552
commit ffbe71465f
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
2 changed files with 21 additions and 1 deletions

View File

@ -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)
^
--- a/src/lib/EBOOKCharsetConverter.cpp.orig 2018-01-01 11:16:28 UTC
+++ b/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)
{

View File

@ -1,7 +1,7 @@
# Template file for 'libe-book'
pkgname=libe-book
version=0.1.3
revision=8
revision=9
build_style=gnu-configure
configure_args="--disable-werror"
hostmakedepends="automake libtool gperf doxygen pkg-config"