From b7982facbd6d596888e100c11b07fff5599e2203 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Mon, 20 Nov 2023 07:43:15 -0500 Subject: 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 --- dev-qt/qtwebengine/files/qtwebengine-6.5.3-icu74.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 dev-qt/qtwebengine/files/qtwebengine-6.5.3-icu74.patch (limited to 'dev-qt/qtwebengine/files') 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) -- cgit v1.2.3-65-gdbad