python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / qt5 / patches / qt-musl-stackbottom.patch
blobfdfc19298ae80692bf4e9de4a1b6e70774162127
1 For musl libc the stackBottom for the main thread is recalculated
2 just as it is for Android. See: https://bugreports.qt.io/browse/QTBUG-44268
4 --- qtdeclarative/src/qml/jsruntime/qv4engine.cpp 2016-02-26 10:34:34.000000000 +0100
5 +++ qtdeclarative/src/qml/jsruntime/qv4engine.cpp 2016-04-04 21:52:43.780823136 +0200
6 @@ -94,6 +94,11 @@
7 #include <valgrind/memcheck.h>
8 #endif
10 +#if defined(Q_OS_LINUX) && !defined(__GLIBC__)
11 +#include <sys/syscall.h>
12 +#define gettid() syscall(SYS_gettid)
13 +#endif
15 QT_BEGIN_NAMESPACE
17 using namespace QV4;