aboutsummaryrefslogtreecommitdiffstats
path: root/testing/monero/easylogging.patch
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-06-21 22:37:23 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2017-06-22 00:52:32 +0200
commit6f5a45b42d7cc18f4eb2b05e163ff6046797c954 (patch)
tree5892c3e9c294f9a466cd5fdcb6ef468d6053fc46 /testing/monero/easylogging.patch
parent02e78a59eeb97125e76ebccaa8f8c2a1d70866f8 (diff)
downloadaports-6f5a45b42d7cc18f4eb2b05e163ff6046797c954.tar.bz2
aports-6f5a45b42d7cc18f4eb2b05e163ff6046797c954.tar.xz
testing/monero: remove dependency to libunwind
Diffstat (limited to 'testing/monero/easylogging.patch')
-rw-r--r--testing/monero/easylogging.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/monero/easylogging.patch b/testing/monero/easylogging.patch
new file mode 100644
index 0000000000..f36d96a1e0
--- /dev/null
+++ b/testing/monero/easylogging.patch
@@ -0,0 +1,11 @@
+--- a/external/easylogging++/easylogging++.h
++++ b/external/easylogging++/easylogging++.h
+@@ -195,7 +195,7 @@
+ # define ELPP_INTERNAL_INFO(lvl, msg)
+ #endif // (defined(ELPP_DEBUG_INFO))
+ #if defined(ELPP_STACKTRACE_ON_CRASH)
+-# if (ELPP_COMPILER_GCC && !ELPP_MINGW)
++# if (__has_include(<execinfo.h>) && ELPP_COMPILER_GCC && !ELPP_MINGW)
+ # define ELPP_STACKTRACE 1
+ # else
+ # define ELPP_STACKTRACE 0