summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwebengine/chromium/0015-chromium-gcc11-fixes.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-04-08 18:43:40 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2021-04-10 01:39:16 +0200
commitecdb62b1e5a83b892d1385179e71093ce22407ba (patch)
treef6190b85b4117de8da4deaae6bed5997b972ce1b /recipes-qt/qt5/qtwebengine/chromium/0015-chromium-gcc11-fixes.patch
parent3e9c7363a1f5b7c8a3003cb78fc73b120d56c421 (diff)
downloadmeta-qt5-ecdb62b1e5a83b892d1385179e71093ce22407ba.tar.gz
qtwebengine: Fix build with GCC 11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtwebengine/chromium/0015-chromium-gcc11-fixes.patch')
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0015-chromium-gcc11-fixes.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0015-chromium-gcc11-fixes.patch b/recipes-qt/qt5/qtwebengine/chromium/0015-chromium-gcc11-fixes.patch
new file mode 100644
index 00000000..699a809a
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine/chromium/0015-chromium-gcc11-fixes.patch
@@ -0,0 +1,23 @@
1Include <limits> header
2
3gcc11 complains
4
5../../../../git/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/containers/string_pool.h:256:34: error: no member named 'numeric_limits' in namespace 'std'
6 PERFETTO_DCHECK(value < std::numeric_limits<uint32_t>::max());
7
8This is because its missing right header which perhaps is included
9implicitly in older compilers
10
11Upstream-Status: Pending
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13
14--- a/chromium/third_party/perfetto/src/trace_processor/containers/string_pool.h
15+++ b/chromium/third_party/perfetto/src/trace_processor/containers/string_pool.h
16@@ -20,6 +20,7 @@
17 #include <stddef.h>
18 #include <stdint.h>
19
20+#include <limits>
21 #include <unordered_map>
22 #include <vector>
23