aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/webkitgtk/fix-execinfo.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-07-19 08:02:00 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-07-19 08:11:37 +0000
commit19eb1c1b5f38b54e053a922785f91a57d54b97e1 (patch)
treebae8981c8eb706a0496ed088e0ac9afa201048e8 /unmaintained/webkitgtk/fix-execinfo.patch
parent102a033b2f324f0112de4486d2ac9baf0c7ac7cc (diff)
downloadaports-19eb1c1b5f38b54e053a922785f91a57d54b97e1.tar.bz2
aports-19eb1c1b5f38b54e053a922785f91a57d54b97e1.tar.xz
unmaintained/webkitgtk: move from comunity
packages should use webkit2gtk instead
Diffstat (limited to 'unmaintained/webkitgtk/fix-execinfo.patch')
-rw-r--r--unmaintained/webkitgtk/fix-execinfo.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/unmaintained/webkitgtk/fix-execinfo.patch b/unmaintained/webkitgtk/fix-execinfo.patch
new file mode 100644
index 0000000000..eb825312f3
--- /dev/null
+++ b/unmaintained/webkitgtk/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