From 29eea5b912889bee4c52d1b721ae352839d87a35 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 2 May 2018 07:49:09 +0000 Subject: testing/qt5-qtwebengine: new aport --- testing/qt5-qtwebengine/qt-musl-stackstart.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 testing/qt5-qtwebengine/qt-musl-stackstart.patch (limited to 'testing/qt5-qtwebengine/qt-musl-stackstart.patch') diff --git a/testing/qt5-qtwebengine/qt-musl-stackstart.patch b/testing/qt5-qtwebengine/qt-musl-stackstart.patch new file mode 100644 index 0000000000..d8dd1aa90f --- /dev/null +++ b/testing/qt5-qtwebengine/qt-musl-stackstart.patch @@ -0,0 +1,20 @@ +--- qtwebengine/src/3rdparty/chromium/third_party/WebKit/Source/platform/wtf/StackUtil.cpp 2018-01-27 23:08:43.586475349 +0100 ++++ qtwebengine/src/3rdparty/chromium/third_party/WebKit/Source/platform/wtf/StackUtil.cpp 2018-01-27 23:18:22.274505203 +0100 +@@ -28,7 +28,7 @@ + // FIXME: On Mac OSX and Linux, this method cannot estimate stack size + // correctly for the main thread. + +-#if defined(__GLIBC__) || defined(OS_ANDROID) || defined(OS_FREEBSD) || \ ++#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_FREEBSD) || \ + defined(OS_FUCHSIA) + // pthread_getattr_np() can fail if the thread is not invoked by + // pthread_create() (e.g., the main thread of webkit_unit_tests). +@@ -96,7 +96,7 @@ + } + + void* GetStackStart() { +-#if defined(__GLIBC__) || defined(OS_ANDROID) || defined(OS_FREEBSD) || \ ++#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_FREEBSD) || \ + defined(OS_FUCHSIA) + pthread_attr_t attr; + int error; -- cgit v1.2.3