aboutsummaryrefslogtreecommitdiffstats
path: root/community/qt5-qtdeclarative/qt-musl-stackbottom.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-05-01 10:46:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-05-01 11:40:27 +0000
commitd30ed94d9cccb2596eccc4881bf94d8bfed8154e (patch)
tree998283e28c734ef5356df80b54ba15550afbefdc /community/qt5-qtdeclarative/qt-musl-stackbottom.patch
parent5ba9cfc4cf0a1d570020faf2f8cb8e46a92ffaeb (diff)
downloadaports-d30ed94d9cccb2596eccc4881bf94d8bfed8154e.tar.bz2
aports-d30ed94d9cccb2596eccc4881bf94d8bfed8154e.tar.xz
community/qt5-qtdeclarative: upgrade to 5.10.1
Diffstat (limited to 'community/qt5-qtdeclarative/qt-musl-stackbottom.patch')
-rw-r--r--community/qt5-qtdeclarative/qt-musl-stackbottom.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/community/qt5-qtdeclarative/qt-musl-stackbottom.patch b/community/qt5-qtdeclarative/qt-musl-stackbottom.patch
new file mode 100644
index 0000000000..fdfc19298a
--- /dev/null
+++ b/community/qt5-qtdeclarative/qt-musl-stackbottom.patch
@@ -0,0 +1,17 @@
+For musl libc the stackBottom for the main thread is recalculated
+just as it is for Android. See: https://bugreports.qt.io/browse/QTBUG-44268
+
+--- qtdeclarative/src/qml/jsruntime/qv4engine.cpp 2016-02-26 10:34:34.000000000 +0100
++++ qtdeclarative/src/qml/jsruntime/qv4engine.cpp 2016-04-04 21:52:43.780823136 +0200
+@@ -94,6 +94,11 @@
+ #include <valgrind/memcheck.h>
+ #endif
+
++#if defined(Q_OS_LINUX) && !defined(__GLIBC__)
++#include <sys/syscall.h>
++#define gettid() syscall(SYS_gettid)
++#endif
++
+ QT_BEGIN_NAMESPACE
+
+ using namespace QV4;