summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwebengine/0011-chromium-musl-Do-not-define-__sbrk-on-musl.patch
diff options
context:
space:
mode:
authorMikko Gronoff <mikko.gronoff@qt.io>2018-05-04 12:44:44 +0300
committerMikko Gronoff <mikko.gronoff@qt.io>2018-05-04 12:54:53 +0300
commit6a766fa08af094e09d72ad52de3075e285af933a (patch)
tree41fe75c08cd2c5113735a8ec87af89c484d18ed8 /recipes-qt/qt5/qtwebengine/0011-chromium-musl-Do-not-define-__sbrk-on-musl.patch
parent76a5128abebb3cc2e3e726dc17d6b2c768bdcc1b (diff)
parentbc20e3dcd0176529740beb59ccf1f170b9f828a8 (diff)
downloadmeta-qt5-6a766fa08af094e09d72ad52de3075e285af933a.tar.gz
Merge remote-tracking branch 'qtyocto/upstream/master' into 5.11
* qtyocto/upstream/master: bc20e3d qt5-creator: upgrade to 4.5.1 4a3318e tufao: fix build with Qt 5.11, don't use qt5_use_modules 35f8981 qt5: upgrade to 5.11 beta3+ 5bbfbca packagegroup-qt5-toolchain-target: drop both qtwebkit packages f33be06 qt5: upgrade to 5.11 Alpha c754974 qtbase: use mysql_config from correct path 41666dd qtmultimedia: Pass -DMESA_EGL_NO_X11_HEADERS=1 when x is disabled 6563f37 cinematicexperience: Add liberation-fonts to RDEPENDS 59c9742 qtlocation: Add licenses used under mapboxgl. 1ce10cf qtwebkit: Update to latest on 5.9 branch 4d09751 qtwebkit: Fix build on armv7ve (rpi) 8666a50 qt5: bump libconnman-qt5 to 1.2.7 45df5c9 .gitattributes: mark *.inc as Bitbake files d9001fc qtbase: fix umask for do_generate_qt_environment_file 8124b3c packagegroup-qt5-toolchain-target/qttranslations: fix nothing provides qttranslations-qtconfig d5f4726 Change default SRC_URI from github.com to code.qt.io 9ed1897 qt5-git.inc: drop nobranch=1 f69baf2 maliit-framework-qt5: refresh patches 61581ec layer.conf: add LAYERSERIES_COMPAT Conflicts: recipes-qt/qt5/nativesdk-qtbase_git.bb recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch recipes-qt/qt5/qt3d_git.bb recipes-qt/qt5/qt5-git.inc recipes-qt/qt5/qtbase-native_git.bb recipes-qt/qt5/qtbase/0005-Disable-all-unknown-features-instead-of-erroring-out.patch recipes-qt/qt5/qtbase/0013-Always-build-uic-and-qvkgen.patch recipes-qt/qt5/qtbase_git.bb recipes-qt/qt5/qtcanvas3d_git.bb recipes-qt/qt5/qtcharts_git.bb recipes-qt/qt5/qtconnectivity_git.bb recipes-qt/qt5/qtdeclarative_git.bb recipes-qt/qt5/qtgraphicaleffects_git.bb recipes-qt/qt5/qtimageformats_git.bb recipes-qt/qt5/qtknx_git.bb recipes-qt/qt5/qtlocation_git.bb recipes-qt/qt5/qtmultimedia_git.bb recipes-qt/qt5/qtpurchasing_git.bb recipes-qt/qt5/qtquickcontrols2_git.bb recipes-qt/qt5/qtremoteobjects_git.bb recipes-qt/qt5/qtscript_git.bb recipes-qt/qt5/qtsensors_git.bb recipes-qt/qt5/qtsvg_git.bb recipes-qt/qt5/qttools_git.bb recipes-qt/qt5/qtvirtualkeyboard_git.bb recipes-qt/qt5/qtwayland/0001-fix-build-without-xkbcommon-evdev.patch recipes-qt/qt5/qtwayland_git.bb recipes-qt/qt5/qtwebengine_git.bb recipes-qt/qt5/qtwebsockets_git.bb Task-number: QTBUG-67590 Change-Id: I62c5995490824324d61f13b2ef3044b97df0e9d3
Diffstat (limited to 'recipes-qt/qt5/qtwebengine/0011-chromium-musl-Do-not-define-__sbrk-on-musl.patch')
-rw-r--r--recipes-qt/qt5/qtwebengine/0011-chromium-musl-Do-not-define-__sbrk-on-musl.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwebengine/0011-chromium-musl-Do-not-define-__sbrk-on-musl.patch b/recipes-qt/qt5/qtwebengine/0011-chromium-musl-Do-not-define-__sbrk-on-musl.patch
new file mode 100644
index 00000000..57f313c9
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine/0011-chromium-musl-Do-not-define-__sbrk-on-musl.patch
@@ -0,0 +1,26 @@
1From 567105c9014cbad00aba5bcd172e6aed3e32c509 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Jul 2017 15:39:57 -0700
4Subject: [PATCH] chromium: musl: Do not define __sbrk on musl
5
6musl libc does not have sbrk. on musl libc will only work when called with 0 as
7argument, so we just let it out for now
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h b/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h
15index edc8cf2..a868b50 100644
16--- a/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h
17+++ b/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h
18@@ -233,7 +233,7 @@ extern "C" void* mremap(void* old_addr, size_t old_size, size_t new_size,
19 }
20
21 // Don't hook sbrk() in Android, since it doesn't expose __sbrk.
22-#if !defined(__ANDROID__)
23+#if !defined(__ANDROID__) && defined(__GLIBC__)
24 // libc's version:
25 extern "C" void* __sbrk(ptrdiff_t increment);
26