mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
25 lines
912 B
Plaintext
25 lines
912 B
Plaintext
From 282e67b6a569aa01e689d630155869dadc107f82 Mon Sep 17 00:00:00 2001
|
|
From: Begasus <begasus@gmail.com>
|
|
Date: Fri, 9 Feb 2024 12:04:20 +0100
|
|
Subject: icu build fix inspired on FreeBSD patch-icu68
|
|
|
|
https://gitlab.com/FreeBSD/freebsd-ports/-/blob/e55b80195e2af4bd63088de216ccd3e23be81c1f/textproc/libe-book/files/patch-icu68
|
|
|
|
|
|
diff --git a/src/lib/EBOOKCharsetConverter.cpp b/src/lib/EBOOKCharsetConverter.cpp
|
|
index 0d85fa3..c9f8be0 100644
|
|
--- a/src/lib/EBOOKCharsetConverter.cpp
|
|
+++ b/src/lib/EBOOKCharsetConverter.cpp
|
|
@@ -124,7 +124,7 @@ bool EBOOKCharsetConverter::convertBytes(const char *const in, const unsigned le
|
|
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)
|
|
{
|
|
--
|
|
2.42.1
|
|
|