From 52f9db05e23cd17e53bbe25369520e820bf2a3b5 Mon Sep 17 00:00:00 2001 From: Miezhiko Date: Mon, 4 Apr 2022 15:40:05 +0400 Subject: dev-qt/qtwebengine: fix building with clang 14 Signed-off-by: Miezhiko Closes: https://github.com/gentoo/gentoo/pull/24897 Signed-off-by: Andreas Sturmlechner --- .../files/qtwebengine-5.15.3_p20220329-clang14.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 dev-qt/qtwebengine/files/qtwebengine-5.15.3_p20220329-clang14.patch (limited to 'dev-qt/qtwebengine/files/qtwebengine-5.15.3_p20220329-clang14.patch') diff --git a/dev-qt/qtwebengine/files/qtwebengine-5.15.3_p20220329-clang14.patch b/dev-qt/qtwebengine/files/qtwebengine-5.15.3_p20220329-clang14.patch new file mode 100644 index 000000000000..ed48544fc36d --- /dev/null +++ b/dev-qt/qtwebengine/files/qtwebengine-5.15.3_p20220329-clang14.patch @@ -0,0 +1,16 @@ +--- a/src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator_icu.cc ++++ b/src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator_icu.cc +@@ -119,11 +119,11 @@ enum TextContext { kNoContext, kPriorContext, kPrimary + + const int kTextBufferCapacity = 16; + +-typedef struct { ++struct UTextWithBuffer { + DISALLOW_NEW(); + UText text; + UChar buffer[kTextBufferCapacity]; +-} UTextWithBuffer; ++}; + + static inline int64_t TextPinIndex(int64_t& index, int64_t limit) { + if (index < 0) -- cgit v1.2.3