From dc043a0252c0eb8041b032d88b6f28c9c74a1a7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Mon, 3 Mar 2014 14:26:38 +0000 Subject: testing/qt5-*: upgrade to 5.2.1, fix musl build --- testing/qt5-qtwebkit/fix-execinfo.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 testing/qt5-qtwebkit/fix-execinfo.patch (limited to 'testing/qt5-qtwebkit/fix-execinfo.patch') diff --git a/testing/qt5-qtwebkit/fix-execinfo.patch b/testing/qt5-qtwebkit/fix-execinfo.patch new file mode 100644 index 0000000000..6fbf4ed8fd --- /dev/null +++ b/testing/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 + #endif + +-#if (OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))) && !OS(ANDROID) ++#if OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__)) && !OS(ANDROID) + #include + #include + #include +@@ -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 -- cgit v1.2.3