Description: fix build with ICU 78
Origin: Arch Linux, https://aur.archlinux.org/cgit/aur.git/tree/qt5-webengine-icu-78.patch?h=qt5-webengine
 The proper fix would be cherry-picking this commit
 https://chromium.googlesource.com/chromium/src/+/f62990fb134b7e61
 and a commit to support ICU 78 on top of that, but upstream Chromium
 does not support ICU 78 yet.
Last-Update: 2025-12-07

--- a/src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator.cc
+++ b/src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator.cc
@@ -163,7 +163,7 @@ static const unsigned char kAsciiLineBre
 // clang-format on
 
 #if U_ICU_VERSION_MAJOR_NUM >= 74
-#define BA_LB_COUNT (U_LB_COUNT - 8)
+#define BA_LB_COUNT (40) /* (U_LB_COUNT - 8) */
 #elif U_ICU_VERSION_MAJOR_NUM >= 58
 #define BA_LB_COUNT (U_LB_COUNT - 3)
 #else
