|
@@ -5,7 +5,7 @@ Based on https://dev.openwrt.org/log/packages/Xorg/lib/qt4/patches/100-fix-webki
|
|
|
Signed-off-by: Johan Sagaert <sagaert.johan@skynet.be>
|
|
|
--- qt-everywhere-opensource-src-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp 2010-02-11 16:55:20.000000000 +0100
|
|
|
+++ qt-everywhere-opensource-src-4.6.2JS/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp 2010-05-23 10:49:29.000000000 +0200
|
|
|
-@@ -75,6 +75,22 @@
|
|
|
+@@ -75,6 +75,23 @@
|
|
|
#endif
|
|
|
#include <unistd.h>
|
|
|
|
|
@@ -14,11 +14,12 @@ Signed-off-by: Johan Sagaert <sagaert.johan@skynet.be>
|
|
|
+#endif
|
|
|
+
|
|
|
+#if defined(__UCLIBC__)
|
|
|
-+// versions of uClibc 0.9.31 and below do not have
|
|
|
++// versions of uClibc 0.9.32 and below with linuxthreads.old do not have
|
|
|
+// pthread_getattr_np or pthread_attr_getstack.
|
|
|
+#if __UCLIBC_MAJOR__ == 0 && \
|
|
|
+ (__UCLIBC_MINOR__ < 9 || \
|
|
|
-+ (__UCLIBC_MINOR__ == 9 && __UCLIBC_SUBLEVEL__ <= 31))
|
|
|
++ (__UCLIBC_MINOR__ == 9 && __UCLIBC_SUBLEVEL__ <= 32)) && \
|
|
|
++ defined(__LINUXTHREADS_OLD__)
|
|
|
+#define UCLIBC_USE_PROC_SELF_MAPS 1
|
|
|
+#include <stdio_ext.h>
|
|
|
+extern int *__libc_stack_end;
|