diff options
Diffstat (limited to 'package/webkit/webkit-execinfo_h.patch')
-rw-r--r-- | package/webkit/webkit-execinfo_h.patch | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/package/webkit/webkit-execinfo_h.patch b/package/webkit/webkit-execinfo_h.patch index 404986b207..f5508a1cb1 100644 --- a/package/webkit/webkit-execinfo_h.patch +++ b/package/webkit/webkit-execinfo_h.patch @@ -1,13 +1,14 @@ Fixes uclibc build as uclibc does not include backtrace functionality Signed-of-by: Spenser Gilliland <spenser@gillilanding.com> ----- -Index: webkit-1.9.6/Source/WTF/wtf/Assertions.cpp +Signed-of-by: Markos Chandras <markos.chandras@imgtec.com> + +Index: webkit-1.11.5/Source/WTF/wtf/Assertions.cpp =================================================================== ---- webkit-1.9.6.orig/Source/WTF/wtf/Assertions.cpp -+++ webkit-1.9.6/Source/WTF/wtf/Assertions.cpp +--- webkit-1.11.5.orig/Source/WTF/wtf/Assertions.cpp ++++ webkit-1.11.5/Source/WTF/wtf/Assertions.cpp @@ -61,8 +61,10 @@ - #if (OS(DARWIN) || OS(LINUX)) && !OS(ANDROID) + #if (OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))) && !OS(ANDROID) #include <cxxabi.h> #include <dlfcn.h> +#if !defined(__UCLIBC__) @@ -17,12 +18,3 @@ Index: webkit-1.9.6/Source/WTF/wtf/Assertions.cpp #if OS(ANDROID) #include "android/log.h" -@@ -268,7 +270,7 @@ void WTFReportArgumentAssertionFailure(c - - void WTFGetBacktrace(void** stack, int* size) - { --#if (OS(DARWIN) || OS(LINUX)) && !OS(ANDROID) -+#if (OS(DARWIN) || OS(LINUX)) && !OS(ANDROID) && !defined(__UCLIBC__) - *size = backtrace(stack, *size); - #elif OS(WINDOWS) && !OS(WINCE) - // The CaptureStackBackTrace function is available in XP, but it is not defined |