diff options
Diffstat (limited to 'testing/falkon/execinfo_h.patch')
| -rw-r--r-- | testing/falkon/execinfo_h.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/falkon/execinfo_h.patch b/testing/falkon/execinfo_h.patch new file mode 100644 index 0000000000..d94e8f2526 --- /dev/null +++ b/testing/falkon/execinfo_h.patch @@ -0,0 +1,21 @@ +--- a/src/main/main.cpp 2018-03-09 14:27:10.849179401 +0100 ++++ b/src/main/main.cpp 2018-03-09 14:27:44.623709876 +0100 +@@ -22,7 +22,7 @@ + #include <QMessageBox> // For QT_REQUIRE_VERSION + #include <iostream> + +-#if defined(Q_OS_LINUX) || defined(__GLIBC__) || defined(__FreeBSD__) || defined(__HAIKU__) ++#if (defined(Q_OS_LINUX) && defined(__GLIBC__)) || defined(__FreeBSD__) || defined(__HAIKU__) + #include <signal.h> + #include <execinfo.h> + +@@ -129,7 +129,7 @@ + qInstallMessageHandler(&msgHandler); + #endif + +-#if defined(Q_OS_LINUX) || defined(__GLIBC__) || defined(__FreeBSD__) ++#if (defined(Q_OS_LINUX) && defined(__GLIBC__)) || defined(__FreeBSD__) + signal(SIGSEGV, falkon_signal_handler); + #endif + + |
