summaryrefslogtreecommitdiffstats
path: root/package/webkit/0006-execinfo_h.patch
blob: f5508a1cb1fa9f54897d72e1639cde911134485d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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