summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-11-20 07:43:15 -0500
committerIonen Wolkens <ionen@gentoo.org>2023-11-20 08:43:40 -0500
commitb7982facbd6d596888e100c11b07fff5599e2203 (patch)
tree481f79cfbedf0b386161c2a6ac8789e712774683 /dev-qt/qtwebengine/files
parentdev-lang/lua: Stabilize 5.4.6 ppc, #914335 (diff)
downloadgentoo-b7982facbd6d596888e100c11b07fff5599e2203.tar.gz
gentoo-b7982facbd6d596888e100c11b07fff5599e2203.tar.bz2
gentoo-b7982facbd6d596888e100c11b07fff5599e2203.zip
dev-qt/qtwebengine: fix build with icu74 (qt6)
Just a quick fix, not fixed in either upstreams yet. Have not tried qt5. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtwebengine/files')
-rw-r--r--dev-qt/qtwebengine/files/qtwebengine-6.5.3-icu74.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-qt/qtwebengine/files/qtwebengine-6.5.3-icu74.patch b/dev-qt/qtwebengine/files/qtwebengine-6.5.3-icu74.patch
new file mode 100644
index 000000000000..d08ede535862
--- /dev/null
+++ b/dev-qt/qtwebengine/files/qtwebengine-6.5.3-icu74.patch
@@ -0,0 +1,14 @@
+Quick fix for a static_assert failure with icu74. Still waiting
+for a proper upstream fix and unknown if entirely right, but is
+an extension of [1] (is now 48 rather than 43).
+
+[1] https://crrev.com/e60b571faa3f14dd9119a6792dccf12f8bf80192
+--- 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,3 +163,5 @@
+
+-#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)