commit: 830d6ed5d3210ba88a668dabd2b0d0e446602ba2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Wed Jan 17 11:17:08 2024 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Wed Jan 17 11:17:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=830d6ed5
dev-qt/qtwebengine: Restore accidentally dropped patch Closes: https://bugs.gentoo.org/922312 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-qt/qtwebengine/files/qtwebengine-6.5.3-icu74.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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..3d42f3f933c5 --- /dev/null +++ b/dev-qt/qtwebengine/files/qtwebengine-6.5.3-icu74.patch @@ -0,0 +1,16 @@ +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). + +https://bugs.gentoo.org/917633 + +[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)
