diff options
author | AmatCoder <amatcoder@gmail.com> | 2015-01-22 05:34:41 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-01-22 11:07:06 +0000 |
commit | fd81a5935eeb562f93d2e7cd9d66c1f428dff2a5 (patch) | |
tree | a9d3ce5d27540971464738307fa81a3d453a2611 /testing/cppcheck/avoid_execinfo.patch | |
parent | e0681cfa7d586af49e81362bd0ce220402c37389 (diff) | |
download | aports-fd81a5935eeb562f93d2e7cd9d66c1f428dff2a5.tar.bz2 aports-fd81a5935eeb562f93d2e7cd9d66c1f428dff2a5.tar.xz |
testing/cppcheck: new aport
Diffstat (limited to 'testing/cppcheck/avoid_execinfo.patch')
-rw-r--r-- | testing/cppcheck/avoid_execinfo.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/cppcheck/avoid_execinfo.patch b/testing/cppcheck/avoid_execinfo.patch new file mode 100644 index 0000000000..c77dbc24f3 --- /dev/null +++ b/testing/cppcheck/avoid_execinfo.patch @@ -0,0 +1,11 @@ +--- cppcheck-1.68-origin/cli/cppcheckexecutor.cpp ++++ cppcheck-1.68/cli/cppcheckexecutor.cpp +@@ -51,7 +51,7 @@ + #endif + #endif + +-#if !defined(NO_UNIX_BACKTRACE_SUPPORT) && defined(USE_UNIX_SIGNAL_HANDLING) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__) && !defined(__NetBSD__) && !defined(__SVR4) && !defined(__QNX__) ++#if !defined(NO_UNIX_BACKTRACE_SUPPORT) && defined(USE_UNIX_SIGNAL_HANDLING) && defined (__GLIBC__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__) && !defined(__NetBSD__) && !defined(__SVR4) && !defined(__QNX__) + #define USE_UNIX_BACKTRACE_SUPPORT + #include <cxxabi.h> + #include <execinfo.h> |