summaryrefslogtreecommitdiff
path: root/dev-qt/qtwebengine/files/qtwebengine-6.6.1-gcc14.patch
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-12-18 07:51:50 -0500
committerIonen Wolkens <ionen@gentoo.org>2023-12-18 13:18:34 -0500
commit7f983f82c666d8b0f677109569c9b88e1701889d (patch)
tree0ba1415beef18350465438b1f9cb738a786b29e1 /dev-qt/qtwebengine/files/qtwebengine-6.6.1-gcc14.patch
parent86fca79f400ca7c4792721a398f5e7765e2d4e4d (diff)
downloadgentoo-7f983f82c666d8b0f677109569c9b88e1701889d.tar.gz
gentoo-7f983f82c666d8b0f677109569c9b88e1701889d.tar.bz2
gentoo-7f983f82c666d8b0f677109569c9b88e1701889d.zip
dev-qt/qtwebengine: fix 6.6.x build with gcc14
Closes: https://bugs.gentoo.org/920257 Thanks-to: Sam James <sam@gentoo.org> Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtwebengine/files/qtwebengine-6.6.1-gcc14.patch')
-rw-r--r--dev-qt/qtwebengine/files/qtwebengine-6.6.1-gcc14.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-qt/qtwebengine/files/qtwebengine-6.6.1-gcc14.patch b/dev-qt/qtwebengine/files/qtwebengine-6.6.1-gcc14.patch
new file mode 100644
index 000000000000..928e9b8f6e43
--- /dev/null
+++ b/dev-qt/qtwebengine/files/qtwebengine-6.6.1-gcc14.patch
@@ -0,0 +1,18 @@
+Patch status: fixed in >=qtwebengine-6.7
+
+https://bugs.gentoo.org/920257
+https://chromium-review.googlesource.com/c/v8/v8/+/4583222
+From: Sam James <sam@gentoo.org>
+Date: Sun, 4 Jun 2023 04:15:16 +0100
+Subject: [PATCH] heap: Add missing <algorithm> include for std::remove
+
+GCC 14 changes some internal includes within libstdc++ so this transient
+include gets lost. Include <algorithm> explicitly for std::remove.
+--- a/src/3rdparty/chromium/v8/src/heap/cppgc/stats-collector.h
++++ b/src/3rdparty/chromium/v8/src/heap/cppgc/stats-collector.h
+@@ -9,4 +9,5 @@
+ #include <stdint.h>
+
++#include <algorithm>
+ #include <atomic>
+ #include <vector>