summaryrefslogtreecommitdiffstats
path: root/package/webkit/webkit-0006-execinfo_h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/webkit/webkit-0006-execinfo_h.patch')
-rw-r--r--package/webkit/webkit-0006-execinfo_h.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/webkit/webkit-0006-execinfo_h.patch b/package/webkit/webkit-0006-execinfo_h.patch
new file mode 100644
index 0000000000..f5508a1cb1
--- /dev/null
+++ b/package/webkit/webkit-0006-execinfo_h.patch
@@ -0,0 +1,20 @@
+Fixes uclibc build as uclibc does not include backtrace functionality
+
+Signed-of-by: Spenser Gilliland <spenser@gillilanding.com>
+Signed-of-by: Markos Chandras <markos.chandras@imgtec.com>
+
+Index: webkit-1.11.5/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) && !defined(__UCLIBC__))) && !OS(ANDROID)
+ #include <cxxabi.h>
+ #include <dlfcn.h>
++#if !defined(__UCLIBC__)
+ #include <execinfo.h>
+ #endif
++#endif
+
+ #if OS(ANDROID)
+ #include "android/log.h"
OpenPOWER on IntegriCloud