diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-10-29 14:04:41 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-10-29 15:18:02 +0000 |
commit | a133c34a27ac6f3dcbb42fd85ecff5b630a9492d (patch) | |
tree | fd9ba94ac6aea90b9c52a0e2ed056518b7c104ac /community/webkitgtk/fix-execinfo.patch | |
parent | 5b29914c9f9e63776952405511dc69c91c78adf5 (diff) | |
download | aports-a133c34a27ac6f3dcbb42fd85ecff5b630a9492d.tar.bz2 aports-a133c34a27ac6f3dcbb42fd85ecff5b630a9492d.tar.xz |
community/webkitgtk: move from main
Diffstat (limited to 'community/webkitgtk/fix-execinfo.patch')
-rw-r--r-- | community/webkitgtk/fix-execinfo.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/community/webkitgtk/fix-execinfo.patch b/community/webkitgtk/fix-execinfo.patch new file mode 100644 index 0000000000..eb825312f3 --- /dev/null +++ b/community/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 |