summaryrefslogtreecommitdiff
path: root/user/qt5-qtwebkit/fix-execinfo.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-17 20:47:25 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-17 20:47:25 -0500
commit52fffdaba23c593510c80846eb6ce38034ae8614 (patch)
tree312408d676316debd99ab10e80f01c4cb4b653ab /user/qt5-qtwebkit/fix-execinfo.patch
parenta9605d90ebde79903c87f335a4a8c293a1618302 (diff)
downloadpackages-52fffdaba23c593510c80846eb6ce38034ae8614.tar.gz
packages-52fffdaba23c593510c80846eb6ce38034ae8614.tar.bz2
packages-52fffdaba23c593510c80846eb6ce38034ae8614.tar.xz
packages-52fffdaba23c593510c80846eb6ce38034ae8614.zip
user/qt5-qtwebkit: add stale package so we can ship
Diffstat (limited to 'user/qt5-qtwebkit/fix-execinfo.patch')
-rw-r--r--user/qt5-qtwebkit/fix-execinfo.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/user/qt5-qtwebkit/fix-execinfo.patch b/user/qt5-qtwebkit/fix-execinfo.patch
new file mode 100644
index 000000000..6fbf4ed8f
--- /dev/null
+++ b/user/qt5-qtwebkit/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__))) && !OS(ANDROID)
++#if OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__)) && !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__) && !defined(__UCLIBC__)) && !OS(ANDROID)
+ *size = backtrace(stack, *size);
+ #elif OS(WINDOWS) && !OS(WINCE)
+ // The CaptureStackBackTrace function is available in XP, but it is not defined