1
0

Accepting request 885473 from home:cgiboudeaux:branches:openSUSE:Factory:Staging:Gcc7

- Add patch to fix build with GCC 11:
  * 0001-Fix-build-with-GCC-11.patch

OBS-URL: https://build.opensuse.org/request/show/885473
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:5.15/libqt5-qtwebengine?expand=0&rev=27
This commit is contained in:
Fabian Vogt 2021-04-16 11:08:36 +00:00 committed by Git OBS Bridge
parent 2ac63f95f7
commit d4ad3a15c7
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,36 @@
From 7d0456664fb76572a560364172c31140ec20fc8a Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <christophe@krop.fr>
Date: Wed, 14 Apr 2021 20:23:07 +0200
Subject: [PATCH] Fix build with GCC 11.
Origin:
https://github.com/abseil/abseil-cpp/commit/5bf048b8
https://github.com/google/perfetto/commit/372366b4
---
diff --git a/src/3rdparty/chromium/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc b/src/3rdparty/chromium/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc
index 19f9aab5b1a..27fec21681d 100644
--- a/src/3rdparty/chromium/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc
+++ b/src/3rdparty/chromium/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc
@@ -37,6 +37,7 @@
#include <algorithm>
#include <array>
+#include <limits>
#include "absl/base/internal/hide_ptr.h"
#include "absl/base/internal/raw_logging.h"
#include "absl/base/internal/spinlock.h"
diff --git a/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/containers/string_pool.h b/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/containers/string_pool.h
index 11ae91cfeca..58c6db27bd6 100644
--- a/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/containers/string_pool.h
+++ b/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/containers/string_pool.h
@@ -22,6 +22,7 @@
#include <unordered_map>
#include <vector>
+#include <limits>
#include "perfetto/ext/base/optional.h"
#include "perfetto/ext/base/paged_memory.h"

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 14 18:26:57 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
- Add patch to fix build with GCC 11:
* 0001-Fix-build-with-GCC-11.patch
-------------------------------------------------------------------
Wed Apr 14 16:35:17 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@ -54,6 +54,8 @@ Patch4: rtc-dont-use-h264.patch
Patch5: 0001-Fix-normalization-of-app-locales.patch
# PATCH-FIX-UPSTREAM
Patch6: chromium-glibc-2.33.patch
# PATCH-FIX-UPSTREAM
Patch7: 0001-Fix-build-with-GCC-11.patch
# http://www.chromium.org/blink not ported to PowerPC
ExcludeArch: ppc ppc64 ppc64le s390 s390x
# Try to fix i586 MemoryErrors with rpmlint