diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2011-06-24 11:06:35 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-06-24 11:06:35 +0200 |
commit | ec61799c338f939adc9ca830fdab6cb07bd1c1cd (patch) | |
tree | d99d89f5116492ee5ab5306a09ee626389584a99 /package/webkit | |
parent | 417df559ad1781829d5d57405d7379059e158f04 (diff) |
webkit: update pthread_getattr_np patches for uClibc 0.9.32
Similar to how it is done for qt.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/webkit')
-rw-r--r-- | package/webkit/webkit-pthread_getattr_np.patch | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/package/webkit/webkit-pthread_getattr_np.patch b/package/webkit/webkit-pthread_getattr_np.patch index b71c8789e..8027e3706 100644 --- a/package/webkit/webkit-pthread_getattr_np.patch +++ b/package/webkit/webkit-pthread_getattr_np.patch @@ -13,16 +13,17 @@ Index: webkit-1.2.3/JavaScriptCore/runtime/Collector.cpp =================================================================== --- webkit-1.2.3.orig/JavaScriptCore/runtime/Collector.cpp 2010-07-22 17:16:19.000000000 +0200 +++ webkit-1.2.3/JavaScriptCore/runtime/Collector.cpp 2010-07-22 17:25:02.000000000 +0200 -@@ -75,6 +75,18 @@ +@@ -75,6 +75,19 @@ #endif #include <unistd.h> +#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; |