4.10.3-2: add gtktreeviewmodel fixes
[arch-packages.git] / libe-book / trunk / icu68.patch
blob17f6d8e84cd1cca5e5340eeb23510c61f5a7ed44
1 Regressed by https://github.com/unicode-org/icu/commit/c3fe7e09d844
3 EBOOKCharsetConverter.cpp:127:7: error: use of undeclared identifier 'TRUE'
4 TRUE, TRUE, &status)
6 EBOOKCharsetConverter.cpp:127:13: error: use of undeclared identifier 'TRUE'
7 TRUE, TRUE, &status)
10 --- src/lib/EBOOKCharsetConverter.cpp.orig 2018-01-01 11:16:28 UTC
11 +++ src/lib/EBOOKCharsetConverter.cpp
12 @@ -124,7 +124,7 @@ bool EBOOKCharsetConverter::convertBytes(const char *c
13 m_converterToUTF8.get(), m_converterToUnicode.get(),
14 &outText, outText + out.size(), &inText, inText + length,
15 nullptr, nullptr, nullptr, nullptr,
16 - TRUE, TRUE, &status)
17 + true, true, &status)
19 if (status==U_BUFFER_OVERFLOW_ERROR)