aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qt-creator/fix-execinfo.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-12-12 04:29:23 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-12-12 15:56:02 +0100
commitd2b8817ad268ec6e0f57acf1c046fd474389521e (patch)
treef91f42869cb33347c8ca8802225ba773fb43bc91 /testing/qt-creator/fix-execinfo.patch
parentcd7e32607b1fb1b46a90905e04924e71bd8b4783 (diff)
downloadaports-d2b8817ad268ec6e0f57acf1c046fd474389521e.tar.bz2
aports-d2b8817ad268ec6e0f57acf1c046fd474389521e.tar.xz
testing/qt-creator: upgrade to 4.11.0
Diffstat (limited to 'testing/qt-creator/fix-execinfo.patch')
-rw-r--r--testing/qt-creator/fix-execinfo.patch5
1 files changed, 2 insertions, 3 deletions
diff --git a/testing/qt-creator/fix-execinfo.patch b/testing/qt-creator/fix-execinfo.patch
index c3828c34b6..750968f75e 100644
--- a/testing/qt-creator/fix-execinfo.patch
+++ b/testing/qt-creator/fix-execinfo.patch
@@ -39,13 +39,12 @@
namespace Debugger {
namespace Internal {
-@@ -45,7 +47,7 @@
+@@ -40,7 +40,7 @@ void dumpBacktrace(int maxdepth)
{
if (maxdepth == -1)
maxdepth = 200;
-#if defined(Q_OS_LINUX)
+#if defined(Q_OS_LINUX) && defined(__GLIBC__)
- void *bt[200] = {0};
+ void *bt[200] = {nullptr};
qDebug() << "BACKTRACE:";
int size = backtrace(bt, sizeof(bt) / sizeof(bt[0]));
-