void-packages/srcpkgs/monero/patches/easylogging.patch
Helmut Pozimski 4f1f8496f8 monero: update to 0.12.0.0.
Closes: #12903 [via git-merge-pr]
2018-03-27 09:27:31 +02:00

11 lines
553 B
Diff

--- external/easylogging++/easylogging++.h 2018-03-25 11:13:30.152606274 +0200
+++ external/easylogging++/easylogging++.h 2018-03-25 11:14:51.038363937 +0200
@@ -200,7 +200,7 @@
# define ELPP_INTERNAL_INFO(lvl, msg)
#endif // (defined(ELPP_DEBUG_INFO))
#if (defined(ELPP_FEATURE_ALL)) || (defined(ELPP_FEATURE_CRASH_LOG))
-# if (ELPP_COMPILER_GCC && !ELPP_MINGW && !ELPP_OS_OPENBSD)
+# if (__has_include(<execinfo.h>) && ELPP_COMPILER_GCC && !ELPP_MINGW && !ELPP_OS_OPENBSD)
# define ELPP_STACKTRACE 1
# else
# define ELPP_STACKTRACE 0