diff --git a/0001-Fix-build-with-GCC-11.patch b/0001-Fix-build-with-GCC-11.patch new file mode 100644 index 0000000..652fe2a --- /dev/null +++ b/0001-Fix-build-with-GCC-11.patch @@ -0,0 +1,36 @@ +From 7d0456664fb76572a560364172c31140ec20fc8a Mon Sep 17 00:00:00 2001 +From: Christophe Giboudeaux +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 + #include ++#include + #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 + #include ++#include + + #include "perfetto/ext/base/optional.h" + #include "perfetto/ext/base/paged_memory.h" diff --git a/libqt5-qtwebengine.changes b/libqt5-qtwebengine.changes index 78bf9e8..808168d 100644 --- a/libqt5-qtwebengine.changes +++ b/libqt5-qtwebengine.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 14 18:26:57 UTC 2021 - Christophe Giboudeaux + +- 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 diff --git a/libqt5-qtwebengine.spec b/libqt5-qtwebengine.spec index 004483f..4ec1388 100644 --- a/libqt5-qtwebengine.spec +++ b/libqt5-qtwebengine.spec @@ -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