summaryrefslogtreecommitdiff
path: root/www-client/chromium/files
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2023-12-02 10:07:56 -0500
committerGravatar Chris Xiong <chirs241097@gmail.com> 2023-12-02 10:07:56 -0500
commita0d0c18e7eb583ef8e941b28309360abd22985ce (patch)
tree9c13f887d5d192c58716aacb1ef761bddc5c68cf /www-client/chromium/files
parentff7b03881d661ecc2d2da73e4e2516af771a83ee (diff)
downloadppo-a0d0c18e7eb583ef8e941b28309360abd22985ce.tar.xz
icu 74 (#917645)
Diffstat (limited to 'www-client/chromium/files')
-rw-r--r--www-client/chromium/files/chromium-121-icu74.patch15
1 files changed, 15 insertions, 0 deletions
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