diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-04-29 11:18:10 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2021-05-10 12:49:02 +0200 |
commit | c92031e3729d778f0b52d98f6cd6def87139c7b7 (patch) | |
tree | dbdf12cccf8106c3ae4c5d38bf064219051a1645 /recipes-qt/qt5/qtwebengine/chromium/0016-chromium-musl-linux-glibc-make-the-distinction.patch | |
parent | 9d403addb37fb4ce0529c12c8820ee5152470c33 (diff) | |
download | meta-qt5-c92031e3729d778f0b52d98f6cd6def87139c7b7.tar.gz |
qtwebengine: upgrade to latest 5.15 and 87-based, fix build with gcc-11
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtwebengine/chromium/0016-chromium-musl-linux-glibc-make-the-distinction.patch')
-rw-r--r-- | recipes-qt/qt5/qtwebengine/chromium/0016-chromium-musl-linux-glibc-make-the-distinction.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0016-chromium-musl-linux-glibc-make-the-distinction.patch b/recipes-qt/qt5/qtwebengine/chromium/0016-chromium-musl-linux-glibc-make-the-distinction.patch new file mode 100644 index 00000000..87a38514 --- /dev/null +++ b/recipes-qt/qt5/qtwebengine/chromium/0016-chromium-musl-linux-glibc-make-the-distinction.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | From eab6e024109ab2bd13bb0189be8d18bae1f597d4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 7 Jul 2017 14:54:38 -0700 | ||
4 | Subject: [PATCH] chromium: musl: linux != glibc, make the distinction | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- | ||
8 | chromium/base/allocator/allocator_check.cc | 2 +- | ||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/chromium/base/allocator/allocator_check.cc b/chromium/base/allocator/allocator_check.cc | ||
12 | index a5ca0b7191e..7017d48b5a0 100644 | ||
13 | --- a/chromium/base/allocator/allocator_check.cc | ||
14 | +++ b/chromium/base/allocator/allocator_check.cc | ||
15 | @@ -27,7 +27,7 @@ bool IsAllocatorInitialized() { | ||
16 | // Set by allocator_shim_override_ucrt_symbols_win.h when the | ||
17 | // shimmed _set_new_mode() is called. | ||
18 | return g_is_win_shim_layer_initialized; | ||
19 | -#elif (defined(OS_LINUX) || defined(OS_CHROMEOS)) && \ | ||
20 | +#elif (defined(__GLIBC__) || defined(OS_CHROMEOS)) && \ | ||
21 | BUILDFLAG(USE_TCMALLOC) && !defined(MEMORY_TOOL_REPLACES_ALLOCATOR) | ||
22 | // From third_party/tcmalloc/chromium/src/gperftools/tcmalloc.h. | ||
23 | // TODO(primiano): replace with an include once base can depend on allocator. | ||