Adding Qt5 base
[feed/video.git] / frameworks / qt5base / patches / 002-uclibc-execinfo.patch
1 --- qtbase-opensource-src-5.4.1.orig/src/corelib/kernel/qcrashhandler.cpp 2015-05-27 21:29:18.327561992 +0200
2 +++ qtbase-opensource-src-5.4.1/src/corelib/kernel/qcrashhandler.cpp 2015-05-27 21:34:18.543553856 +0200
3 @@ -62,7 +62,7 @@
4
5 QtCrashHandler QSegfaultHandler::callback = 0;
6
7 -#if defined(__GLIBC__) && (__GLIBC__ >= 2) && !defined(__UCLIBC__) && !defined(QT_LINUXBASE)
8 +#if defined(__GLIBC__) && (__GLIBC__ >= 2) && (!defined(__UCLIBC__) || (defined(__UCLIBC__) && defined(UCLIBC_HAS_BACKTRACE))) && !defined(QT_LINUXBASE)
9 QT_BEGIN_INCLUDE_NAMESPACE
10 # include "qstring.h"
11 # include <execinfo.h>