forked from pool/libqt5-qtwebengine
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:
parent
2ac63f95f7
commit
d4ad3a15c7
36
0001-Fix-build-with-GCC-11.patch
Normal file
36
0001-Fix-build-with-GCC-11.patch
Normal 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"
|
@ -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>
|
Wed Apr 14 16:35:17 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
|
||||||
|
@ -54,6 +54,8 @@ Patch4: rtc-dont-use-h264.patch
|
|||||||
Patch5: 0001-Fix-normalization-of-app-locales.patch
|
Patch5: 0001-Fix-normalization-of-app-locales.patch
|
||||||
# PATCH-FIX-UPSTREAM
|
# PATCH-FIX-UPSTREAM
|
||||||
Patch6: chromium-glibc-2.33.patch
|
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
|
# http://www.chromium.org/blink not ported to PowerPC
|
||||||
ExcludeArch: ppc ppc64 ppc64le s390 s390x
|
ExcludeArch: ppc ppc64 ppc64le s390 s390x
|
||||||
# Try to fix i586 MemoryErrors with rpmlint
|
# Try to fix i586 MemoryErrors with rpmlint
|
||||||
|
Loading…
Reference in New Issue
Block a user