diff options
| author | Miezhiko <Miezhiko@gmail.com> | 2022-04-04 15:40:05 +0400 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-04-05 18:33:47 +0200 |
| commit | 52f9db05e23cd17e53bbe25369520e820bf2a3b5 (patch) | |
| tree | e01403f634bf5db56a9da5099a8ce80c63bdf10c /dev-qt/qtwebengine/files/qtwebengine-5.15.3_p20220329-clang14.patch | |
| parent | a5fb9285a1dd3bc61a9ab25b488806b869d2cb81 (diff) | |
| download | gentoo-52f9db05e23cd17e53bbe25369520e820bf2a3b5.tar.gz gentoo-52f9db05e23cd17e53bbe25369520e820bf2a3b5.tar.bz2 gentoo-52f9db05e23cd17e53bbe25369520e820bf2a3b5.zip | |
dev-qt/qtwebengine: fix building with clang 14
Signed-off-by: Miezhiko <Miezhiko@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/24897
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt/qtwebengine/files/qtwebengine-5.15.3_p20220329-clang14.patch')
| -rw-r--r-- | dev-qt/qtwebengine/files/qtwebengine-5.15.3_p20220329-clang14.patch | 16 |
1 files changed, 16 insertions, 0 deletions
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) |
