aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qt-creator/fix-execinfo.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-03-03 14:58:09 +0000
committerTimo Teräs <timo.teras@iki.fi>2014-03-03 14:59:03 +0000
commit8cc105fb120ea1a466a81d7b6746fc392edb1bf9 (patch)
treec1c07795a99e3a743072205b563b4a0670cfac35 /testing/qt-creator/fix-execinfo.patch
parent26df20322791776ce8ff88bdd01d4e075191e1fb (diff)
downloadaports-8cc105fb120ea1a466a81d7b6746fc392edb1bf9.tar.bz2
aports-8cc105fb120ea1a466a81d7b6746fc392edb1bf9.tar.xz
testing/qt-creator: upgrade to 3.0.1
Diffstat (limited to 'testing/qt-creator/fix-execinfo.patch')
-rw-r--r--testing/qt-creator/fix-execinfo.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/qt-creator/fix-execinfo.patch b/testing/qt-creator/fix-execinfo.patch
new file mode 100644
index 0000000000..418ff73d5b
--- /dev/null
+++ b/testing/qt-creator/fix-execinfo.patch
@@ -0,0 +1,29 @@
+--- qt-creator-opensource-src-3.0.1/src/plugins/debugger/shared/backtrace.cpp.orig
++++ qt-creator-opensource-src-3.0.1/src/plugins/debugger/shared/backtrace.cpp
+@@ -31,7 +31,7 @@
+ #include <QDebug>
+ #include <QProcess>
+
+-#if defined(Q_OS_LINUX)
++#if defined(__GLIBC__)
+ #include <stdio.h>
+ #include <signal.h>
+ #include <execinfo.h>
+@@ -44,7 +44,7 @@
+ {
+ if (maxdepth == -1)
+ maxdepth = 200;
+-#if defined(Q_OS_LINUX)
++#if defined(__GLIBC__)
+ void *bt[200] = {0};
+ qDebug() << "BACKTRACE:";
+ int size = backtrace(bt, sizeof(bt) / sizeof(bt[0]));
+@@ -71,7 +71,7 @@
+ /*
+ void installSignalHandlers()
+ {
+-#if defined(Q_OS_LINUX)
++#if defined(__GLIBC__)
+ struct sigaction SignalAction;
+
+ SignalAction.sa_sigaction = handler;