summarylogtreecommitdiffstats
path: root/fix-execinfo.patch
diff options
context:
space:
mode:
authorLlewelyn Trahaearn2017-05-26 21:25:08 -0700
committerLlewelyn Trahaearn2017-05-26 21:25:08 -0700
commit037feb15a9a69faf95f07df9fef893e220998dbc (patch)
tree2f1876adca4beba212f8971f3ac3f4593c5b2b7a /fix-execinfo.patch
downloadaur-037feb15a9a69faf95f07df9fef893e220998dbc.tar.gz
Initial commit: Resources added to the AUR.
Diffstat (limited to 'fix-execinfo.patch')
-rw-r--r--fix-execinfo.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/fix-execinfo.patch b/fix-execinfo.patch
new file mode 100644
index 000000000000..93a4dec73fab
--- /dev/null
+++ b/fix-execinfo.patch
@@ -0,0 +1,20 @@
+--- qtwebkit-2.3.4/Source/WTF/wtf/Assertions.cpp 2014-09-24 13:42:05.000000000 +0200
++++ qtwebkit-2.3.4/Source/WTF/wtf/Assertions.cpp 2016-09-17 23:37:12.846758706 +0200
+@@ -58,7 +58,7 @@
+ #include <windows.h>
+ #endif
+
+-#if (OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))) && !OS(ANDROID)
++#if (OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__))) && !OS(ANDROID)
+ #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__))) && !OS(ANDROID)
++#if (OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__))) && !OS(ANDROID)
+ *size = backtrace(stack, *size);
+ #elif OS(WINDOWS) && !OS(WINCE)
+ // The CaptureStackBackTrace function is available in XP, but it is not defined