diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-09 10:05:42 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-09 10:07:25 +0000 |
commit | ee0cb14df1c060942429a0ac473b46d5c17c34c9 (patch) | |
tree | 31ac9c50589875b23dc4d05ac0835a99e63bf4b6 /community/webkit2gtk/fix-execinfo.patch | |
parent | 4c965f850ffccc42317a82c454bbd142a4c687b5 (diff) | |
download | aports-ee0cb14df1c060942429a0ac473b46d5c17c34c9.tar.bz2 aports-ee0cb14df1c060942429a0ac473b46d5c17c34c9.tar.xz |
community/webkit2gtk: move from testing
Diffstat (limited to 'community/webkit2gtk/fix-execinfo.patch')
-rw-r--r-- | community/webkit2gtk/fix-execinfo.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/community/webkit2gtk/fix-execinfo.patch b/community/webkit2gtk/fix-execinfo.patch new file mode 100644 index 0000000000..eb825312f3 --- /dev/null +++ b/community/webkit2gtk/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 |