aboutsummaryrefslogtreecommitdiffstats
path: root/testing/webkitgtk2/fix-execinfo.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-09-19 21:28:53 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2014-09-19 21:29:09 +0200
commit4cf4058c180ac24d16c0facc784aa88d19de6b8a (patch)
treebdcbf5302e523352eadbc64dee7d39f018995702 /testing/webkitgtk2/fix-execinfo.patch
parent4505ac7a119675d3cc652c000546605cf48bf361 (diff)
downloadaports-4cf4058c180ac24d16c0facc784aa88d19de6b8a.tar.bz2
aports-4cf4058c180ac24d16c0facc784aa88d19de6b8a.tar.xz
testing/webkitgtk2: new aport
Diffstat (limited to 'testing/webkitgtk2/fix-execinfo.patch')
-rw-r--r--testing/webkitgtk2/fix-execinfo.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/webkitgtk2/fix-execinfo.patch b/testing/webkitgtk2/fix-execinfo.patch
new file mode 100644
index 0000000000..eb825312f3
--- /dev/null
+++ b/testing/webkitgtk2/fix-execinfo.patch
@@ -0,0 +1,20 @@
+--- webkitgtk-2.2.0.orig/Source/WTF/wtf/Assertions.cpp
++++ webkitgtk-2.2.0/Source/WTF/wtf/Assertions.cpp
+@@ -64,7 +64,7 @@
+ #include <windows.h>
+ #endif
+
+-#if OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))
++#if OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__))
+ #include <cxxabi.h>
+ #include <dlfcn.h>
+ #include <execinfo.h>
+@@ -242,7 +242,7 @@
+
+ void WTFGetBacktrace(void** stack, int* size)
+ {
+-#if OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))
++#if OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__))
+ *size = backtrace(stack, *size);
+ #elif OS(WINDOWS) && !OS(WINCE)
+ // The CaptureStackBackTrace function is available in XP, but it is not defined