Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qt:master commit in: dev-qt/qtwebengine/files/, dev-qt/qtwebengine/
Date: Thu, 30 Sep 2021 11:35:33
Message-Id: 1632998456.bf472e90b5db5c7ccf5528ed77bd4084c566cb47.asturm@gentoo
1 commit: bf472e90b5db5c7ccf5528ed77bd4084c566cb47
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 23 19:14:58 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 30 10:40:56 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=bf472e90
7
8 dev-qt/qtwebengine: Add Fedora patch for GCC-11
9
10 (sync with Gentoo ebuild repository)
11
12 Package-Manager: Portage-3.0.18, Repoman-3.0.3
13 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
14
15 .../files/qtwebengine-5.15.2_p20210521-gcc11.patch | 74 ++++++++++++++++++++++
16 dev-qt/qtwebengine/qtwebengine-5.15.2.9999.ebuild | 1 +
17 2 files changed, 75 insertions(+)
18
19 diff --git a/dev-qt/qtwebengine/files/qtwebengine-5.15.2_p20210521-gcc11.patch b/dev-qt/qtwebengine/files/qtwebengine-5.15.2_p20210521-gcc11.patch
20 new file mode 100644
21 index 00000000..0014ec13
22 --- /dev/null
23 +++ b/dev-qt/qtwebengine/files/qtwebengine-5.15.2_p20210521-gcc11.patch
24 @@ -0,0 +1,74 @@
25 +diff --git a/src/3rdparty/chromium/third_party/angle/src/libANGLE/HandleAllocator.cpp b/src/3rdparty/chromium/third_party/angle/src/libANGLE/HandleAllocator.cpp
26 +index 013f1dfb2..3ce63c192 100644
27 +--- a/src/3rdparty/chromium/third_party/angle/src/libANGLE/HandleAllocator.cpp
28 ++++ b/src/3rdparty/chromium/third_party/angle/src/libANGLE/HandleAllocator.cpp
29 +@@ -9,6 +9,7 @@
30 +
31 + #include "libANGLE/HandleAllocator.h"
32 +
33 ++#include <limits>
34 + #include <algorithm>
35 + #include <functional>
36 +
37 +diff --git a/src/3rdparty/chromium/ui/accessibility/platform/ax_platform_atk_hyperlink.cc b/src/3rdparty/chromium/ui/accessibility/platform/ax_platform_atk_hyperlink.cc
38 +index be91def6b..73f202356 100644
39 +--- a/src/3rdparty/chromium/ui/accessibility/platform/ax_platform_atk_hyperlink.cc
40 ++++ b/src/3rdparty/chromium/ui/accessibility/platform/ax_platform_atk_hyperlink.cc
41 +@@ -245,7 +245,7 @@ static void AXPlatformAtkHyperlinkInit(AXPlatformAtkHyperlink* self, gpointer) {
42 + }
43 +
44 + GType ax_platform_atk_hyperlink_get_type() {
45 +- static volatile gsize type_volatile = 0;
46 ++ static gsize type_volatile = 0;
47 +
48 + AXPlatformNodeAuraLinux::EnsureGTypeInit();
49 +
50 +diff --git a/src/3rdparty/chromium/ui/accessibility/platform/ax_platform_node_auralinux.cc b/src/3rdparty/chromium/ui/accessibility/platform/ax_platform_node_auralinux.cc
51 +index 04125c6fd..6c64e5d8e 100644
52 +--- a/src/3rdparty/chromium/ui/accessibility/platform/ax_platform_node_auralinux.cc
53 ++++ b/src/3rdparty/chromium/ui/accessibility/platform/ax_platform_node_auralinux.cc
54 +@@ -2274,7 +2274,7 @@ void ClassInit(gpointer class_pointer, gpointer /* class_data */) {
55 + GType GetType() {
56 + AXPlatformNodeAuraLinux::EnsureGTypeInit();
57 +
58 +- static volatile gsize type_volatile = 0;
59 ++ static gsize type_volatile = 0;
60 + if (g_once_init_enter(&type_volatile)) {
61 + static const GTypeInfo type_info = {
62 + sizeof(AXPlatformNodeAuraLinuxClass), // class_size
63 +diff --git a/src/3rdparty/chromium/ui/gtk/gtk_key_bindings_handler.cc b/src/3rdparty/chromium/ui/gtk/gtk_key_bindings_handler.cc
64 +index c663a2074..38a342484 100644
65 +--- a/src/3rdparty/chromium/ui/gtk/gtk_key_bindings_handler.cc
66 ++++ b/src/3rdparty/chromium/ui/gtk/gtk_key_bindings_handler.cc
67 +@@ -141,7 +141,7 @@ void GtkKeyBindingsHandler::HandlerClassInit(HandlerClass* klass) {
68 + }
69 +
70 + GType GtkKeyBindingsHandler::HandlerGetType() {
71 +- static volatile gsize type_id_volatile = 0;
72 ++ static gsize type_id_volatile = 0;
73 + if (g_once_init_enter(&type_id_volatile)) {
74 + GType type_id = g_type_register_static_simple(
75 + GTK_TYPE_TEXT_VIEW, g_intern_static_string("GtkKeyBindingsHandler"),
76 +--- a/src/3rdparty/chromium/components/bookmarks/browser/bookmark_expanded_state_tracker.cc
77 ++++ b/src/3rdparty/chromium/components/bookmarks/browser/bookmark_expanded_state_tracker.cc
78 +@@ -2,6 +2,7 @@
79 + // Use of this source code is governed by a BSD-style license that can be
80 + // found in the LICENSE file.
81 +
82 ++#include <cstddef>
83 + #include "components/bookmarks/browser/bookmark_expanded_state_tracker.h"
84 +
85 + #include <stdint.h>
86 +diff --git a/src/3rdparty/chromium/components/bookmarks/browser/base_bookmark_model_observer.cc b/src/3rdparty/chromium/components/bookmarks/browser/base_bookmark_model_observer.cc
87 +index 657a3c96b..ad641a082 100644
88 +--- a/src/3rdparty/chromium/components/bookmarks/browser/base_bookmark_model_observer.cc
89 ++++ b/src/3rdparty/chromium/components/bookmarks/browser/base_bookmark_model_observer.cc
90 +@@ -2,6 +2,8 @@
91 + // Use of this source code is governed by a BSD-style license that can be
92 + // found in the LICENSE file.
93 +
94 ++#include <cstddef>
95 ++
96 + #include "components/bookmarks/browser/base_bookmark_model_observer.h"
97 +
98 + namespace bookmarks {
99
100 diff --git a/dev-qt/qtwebengine/qtwebengine-5.15.2.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-5.15.2.9999.ebuild
101 index 3a092b0f..c096ab58 100644
102 --- a/dev-qt/qtwebengine/qtwebengine-5.15.2.9999.ebuild
103 +++ b/dev-qt/qtwebengine/qtwebengine-5.15.2.9999.ebuild
104 @@ -103,6 +103,7 @@ PATCHES=(
105 "${FILESDIR}/${PN}-5.15.2_p20210224-chromium-87-v8-icu68.patch" # downstream, bug 757606
106 "${FILESDIR}/${PN}-5.15.2_p20210224-disable-git.patch" # downstream snapshot fix
107 "${FILESDIR}/${PN}-5.15.2_p20210406-glibc-2.33.patch" # by Fedora, bug 769989
108 + "${FILESDIR}/${PN}-5.15.2_p20210521-gcc11.patch" # by Fedora, bug 768261
109 )
110
111 pkg_preinst() {