635e9da391
* par is kept at -Np0 ```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.-][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
17 lines
546 B
Diff
17 lines
546 B
Diff
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
|
|
|
|
--- a/qtdeclarative/src/qml/jsruntime/qv4engine.cpp 2016-02-26 10:34:34.000000000 +0100
|
|
+++ b/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;
|