diff options
-rw-r--r-- | recipes-qt/qt5/qtwebengine/chromium/0015-chromium-gcc11-fixes.patch | 23 | ||||
-rw-r--r-- | recipes-qt/qt5/qtwebengine_git.bb | 1 |
2 files changed, 24 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 @@ | |||
1 | Include <limits> header | ||
2 | |||
3 | gcc11 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 | |||
8 | This is because its missing right header which perhaps is included | ||
9 | implicitly in older compilers | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | Signed-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 | |||
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index a98bf787..357a519a 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb | |||
@@ -177,6 +177,7 @@ SRC_URI += " \ | |||
177 | file://chromium/0012-chromium-Link-v8-with-libatomic-on-x86.patch;patchdir=src/3rdparty \ | 177 | file://chromium/0012-chromium-Link-v8-with-libatomic-on-x86.patch;patchdir=src/3rdparty \ |
178 | file://chromium/0013-chromium-icu-use-system-library-only-targets.patch;patchdir=src/3rdparty \ | 178 | file://chromium/0013-chromium-icu-use-system-library-only-targets.patch;patchdir=src/3rdparty \ |
179 | file://chromium/0014-chromium-Fix-sandbox-Aw-snap-for-syscalls-403-and-40.patch;patchdir=src/3rdparty \ | 179 | file://chromium/0014-chromium-Fix-sandbox-Aw-snap-for-syscalls-403-and-40.patch;patchdir=src/3rdparty \ |
180 | file://chromium/0015-chromium-gcc11-fixes.patch;patchdir=src/3rdparty \ | ||
180 | " | 181 | " |
181 | 182 | ||
182 | # Patches from https://github.com/meta-qt5/qtwebengine-chromium/commits/83-based | 183 | # Patches from https://github.com/meta-qt5/qtwebengine-chromium/commits/83-based |