summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwebengine/0007-chromium-musl-linux-glibc-make-the-distinction.patch
diff options
context:
space:
mode:
authorMikko Gronoff <mikko.gronoff@qt.io>2018-01-29 12:48:12 +0200
committerMikko Gronoff <mikko.gronoff@qt.io>2018-01-29 12:52:10 +0200
commita358108b09762390ec951f560540bb99aaf9f2a2 (patch)
tree6d9e6c078f46403bb2e76a25f4aa56c990c23083 /recipes-qt/qt5/qtwebengine/0007-chromium-musl-linux-glibc-make-the-distinction.patch
parentc32de2f746d944f515e9e47dd330dfb64b3ca280 (diff)
parentce766374432309b85fdcfe8ef287dbb2ef11b337 (diff)
downloadmeta-qt5-a358108b09762390ec951f560540bb99aaf9f2a2.tar.gz
Merge remote-tracking branch 'qtyocto/upstream/master' into 5.10
* qtyocto/upstream/master: qt: refresh remaining patches and tags in meta-qt5 repos qtwebengine: explicitly depend on bison-native qtmqtt: add recipe qtbase: fix a regression qtbase: introduce QT_EDITION packagegroup-qt5-qtcreator-debug: remove qtdeclarative-plugins Conflicts: recipes-qt/qt5/qtquickcontrols/0001-texteditor-fix-invalid-use-of-incomplete-type-class-.patch recipes-qt/qt5/qtquickcontrols_git.bb recipes-qt/qt5/qtserialbus_git.bb Task-number: QTBUG-65164 Change-Id: Ifdb2bba80e68de28ec818fff2b2716645eb4d9c5
Diffstat (limited to 'recipes-qt/qt5/qtwebengine/0007-chromium-musl-linux-glibc-make-the-distinction.patch')
-rw-r--r--recipes-qt/qt5/qtwebengine/0007-chromium-musl-linux-glibc-make-the-distinction.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwebengine/0007-chromium-musl-linux-glibc-make-the-distinction.patch b/recipes-qt/qt5/qtwebengine/0007-chromium-musl-linux-glibc-make-the-distinction.patch
new file mode 100644
index 00000000..1d806263
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine/0007-chromium-musl-linux-glibc-make-the-distinction.patch
@@ -0,0 +1,23 @@
1From 6ab246f27b626205539f762fa8acaccaf34c705f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Jul 2017 14:54:38 -0700
4Subject: [PATCH] chromium: musl: linux != glibc, make the distinction
5
6Signed-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
11diff --git a/chromium/base/allocator/allocator_check.cc b/chromium/base/allocator/allocator_check.cc
12index 9cd5d22..1e70095 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(USE_TCMALLOC) && \
20+#elif defined(__GLIBC__) && defined(USE_TCMALLOC) && \
21 !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.