From a0d0c18e7eb583ef8e941b28309360abd22985ce Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sat, 2 Dec 2023 10:07:56 -0500 Subject: icu 74 (#917645) --- www-client/chromium/files/chromium-121-icu74.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 www-client/chromium/files/chromium-121-icu74.patch (limited to 'www-client/chromium/files') diff --git a/www-client/chromium/files/chromium-121-icu74.patch b/www-client/chromium/files/chromium-121-icu74.patch new file mode 100644 index 0000000..c4c17f4 --- /dev/null +++ b/www-client/chromium/files/chromium-121-icu74.patch @@ -0,0 +1,15 @@ +diff --git a/third_party/blink/renderer/platform/text/text_break_iterator.cc b/third_party/blink/renderer/platform/text/text_break_iterator.cc +index 801f4a127f..7bf6a059ba 100644 +--- a/third_party/blink/renderer/platform/text/text_break_iterator.cc ++++ b/third_party/blink/renderer/platform/text/text_break_iterator.cc +@@ -161,7 +161,9 @@ static const unsigned char kAsciiLineBreakTable[][(kAsciiLineBreakTableLastChar + }; + // clang-format on + +-#if U_ICU_VERSION_MAJOR_NUM >= 58 ++#if U_ICU_VERSION_MAJOR_NUM >= 74 ++#define BA_LB_COUNT (U_LB_COUNT - 8) ++#elif U_ICU_VERSION_MAJOR_NUM >= 58 + #define BA_LB_COUNT (U_LB_COUNT - 3) + #else + #define BA_LB_COUNT U_LB_COUNT -- cgit v1.2.3