From ae08492467910eace2692e2d222c41d7f55956ac Mon Sep 17 00:00:00 2001 From: oreo639 <31916379+Oreo639@users.noreply.github.com> Date: Mon, 15 Aug 2022 18:54:53 -0700 Subject: [PATCH] qt5-webengine: fix build on gcc12 --- .../patches/qt5-webengine-gcc12.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/qt5-webengine/patches/qt5-webengine-gcc12.patch diff --git a/srcpkgs/qt5-webengine/patches/qt5-webengine-gcc12.patch b/srcpkgs/qt5-webengine/patches/qt5-webengine-gcc12.patch new file mode 100644 index 00000000000..366d25e012e --- /dev/null +++ b/srcpkgs/qt5-webengine/patches/qt5-webengine-gcc12.patch @@ -0,0 +1,15 @@ +Add missing include for std::begin and std::end in SkParseColor.cpp + +https://skia-review.googlesource.com/c/skia/+/533981 + +--- a/src/3rdparty/chromium/third_party/skia/src/utils/SkParseColor.cpp ++++ b/src/3rdparty/chromium/third_party/skia/src/utils/SkParseColor.cpp +@@ -8,6 +8,8 @@ + + #include "include/utils/SkParse.h" + ++#include ++ + static constexpr const char* gColorNames[] = { + "aliceblue", + "antiquewhite",