File chromium-gcc11.patch of Package chromium.openSUSE_Backports_SLE-15-SP3_Update

Index: chromium-108.0.5359.71/third_party/angle/src/libANGLE/HandleAllocator.cpp
===================================================================
--- chromium-108.0.5359.71.orig/third_party/angle/src/libANGLE/HandleAllocator.cpp
+++ chromium-108.0.5359.71/third_party/angle/src/libANGLE/HandleAllocator.cpp
@@ -9,6 +9,7 @@
 
 #include "libANGLE/HandleAllocator.h"
 
+#include <limits>
 #include <algorithm>
 #include <functional>
 #include <limits>
Index: chromium-108.0.5359.71/third_party/perfetto/src/trace_processor/containers/string_pool.cc
===================================================================
--- chromium-108.0.5359.71.orig/third_party/perfetto/src/trace_processor/containers/string_pool.cc
+++ chromium-108.0.5359.71/third_party/perfetto/src/trace_processor/containers/string_pool.cc
@@ -14,9 +14,9 @@
  * limitations under the License.
  */
 
+#include <limits>
 #include "src/trace_processor/containers/string_pool.h"
 
-#include <limits>
 
 #include "perfetto/base/logging.h"
 #include "perfetto/ext/base/utils.h"
Index: chromium-108.0.5359.71/third_party/perfetto/src/trace_processor/db/column.cc
===================================================================
--- chromium-108.0.5359.71.orig/third_party/perfetto/src/trace_processor/db/column.cc
+++ chromium-108.0.5359.71/third_party/perfetto/src/trace_processor/db/column.cc
@@ -14,6 +14,7 @@
  * limitations under the License.
  */
 
+#include <limits>
 #include "src/trace_processor/db/column.h"
 
 #include "src/trace_processor/db/compare.h"
Index: chromium-108.0.5359.71/third_party/perfetto/src/trace_processor/types/variadic.cc
===================================================================
--- chromium-108.0.5359.71.orig/third_party/perfetto/src/trace_processor/types/variadic.cc
+++ chromium-108.0.5359.71/third_party/perfetto/src/trace_processor/types/variadic.cc
@@ -14,6 +14,7 @@
  * limitations under the License.
  */
 
+#include <limits>
 #include "src/trace_processor/types/variadic.h"
 
 namespace perfetto {
Index: chromium-108.0.5359.71/ui/accessibility/platform/ax_platform_atk_hyperlink.cc
===================================================================
--- chromium-108.0.5359.71.orig/ui/accessibility/platform/ax_platform_atk_hyperlink.cc
+++ chromium-108.0.5359.71/ui/accessibility/platform/ax_platform_atk_hyperlink.cc
@@ -132,7 +132,7 @@ static void AXPlatformAtkHyperlinkInit(A
 }
 
 GType ax_platform_atk_hyperlink_get_type() {
-  static volatile gsize type_volatile = 0;
+  static gsize type_volatile = 0;
 
   AXPlatformNodeAuraLinux::EnsureGTypeInit();
 
Index: chromium-108.0.5359.71/ui/accessibility/platform/ax_platform_node_auralinux.cc
===================================================================
--- chromium-108.0.5359.71.orig/ui/accessibility/platform/ax_platform_node_auralinux.cc
+++ chromium-108.0.5359.71/ui/accessibility/platform/ax_platform_node_auralinux.cc
@@ -2282,7 +2282,7 @@ void ClassInit(gpointer class_pointer, g
 GType GetType() {
   AXPlatformNodeAuraLinux::EnsureGTypeInit();
 
-  static volatile gsize type_volatile = 0;
+  static gsize type_volatile = 0;
   if (g_once_init_enter(&type_volatile)) {
     static const GTypeInfo type_info = {
         sizeof(AXPlatformNodeAuraLinuxClass),  // class_size
Index: chromium-108.0.5359.71/ui/gtk/gtk_key_bindings_handler.cc
===================================================================
--- chromium-108.0.5359.71.orig/ui/gtk/gtk_key_bindings_handler.cc
+++ chromium-108.0.5359.71/ui/gtk/gtk_key_bindings_handler.cc
@@ -120,7 +120,7 @@ void GtkKeyBindingsHandler::HandlerClass
 }
 
 GType GtkKeyBindingsHandler::HandlerGetType() {
-  static volatile gsize type_id_volatile = 0;
+  static gsize type_id_volatile = 0;
   if (g_once_init_enter(&type_id_volatile)) {
     GType type_id = g_type_register_static_simple(
         GTK_TYPE_TEXT_VIEW, g_intern_static_string("GtkKeyBindingsHandler"),
Index: chromium-108.0.5359.71/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc
===================================================================
--- chromium-108.0.5359.71.orig/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc
+++ chromium-108.0.5359.71/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc
@@ -2,6 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
+#include <cstddef>
 #include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h"
 
 #include "base/observer_list.h"
Index: chromium-108.0.5359.71/components/bookmarks/browser/bookmark_expanded_state_tracker.cc
===================================================================
--- chromium-108.0.5359.71.orig/components/bookmarks/browser/bookmark_expanded_state_tracker.cc
+++ chromium-108.0.5359.71/components/bookmarks/browser/bookmark_expanded_state_tracker.cc
@@ -2,6 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
+#include <cstddef>
 #include "components/bookmarks/browser/bookmark_expanded_state_tracker.h"
 
 #include <stdint.h>
Index: chromium-108.0.5359.71/components/bookmarks/browser/base_bookmark_model_observer.cc
===================================================================
--- chromium-108.0.5359.71.orig/components/bookmarks/browser/base_bookmark_model_observer.cc
+++ chromium-108.0.5359.71/components/bookmarks/browser/base_bookmark_model_observer.cc
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
+#include <cstddef>
+
 #include "components/bookmarks/browser/base_bookmark_model_observer.h"
 
 namespace bookmarks {
openSUSE Build Service is sponsored by