diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2017-09-25 00:08:16 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2017-09-25 00:08:16 +0000 |
commit | 98eb11b2f0e873c1d18153e250f15cb2c32e1521 (patch) | |
tree | bb7ad747880e8b73ba67e7537e487c63a9b9aed7 /devel/boost-libs/files/patch-boost_stacktrace_detail_collect__unwind.ipp | |
parent | games/stuntrally: switch to C++11 for Boost (diff) |
devel/boost-*: update to 1.65.1
Changes: http://www.boost.org/users/history/version_1_65_1.html
PR: 218835
Approved by: maintainer timeout (1.65.1: 2 weeks; 1.65.0: 1 month)
Tested by: jhibbits (on powerpc64, earlier version)
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D11582
Diffstat (limited to 'devel/boost-libs/files/patch-boost_stacktrace_detail_collect__unwind.ipp')
-rw-r--r-- | devel/boost-libs/files/patch-boost_stacktrace_detail_collect__unwind.ipp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/devel/boost-libs/files/patch-boost_stacktrace_detail_collect__unwind.ipp b/devel/boost-libs/files/patch-boost_stacktrace_detail_collect__unwind.ipp new file mode 100644 index 000000000000..58b3a75e1d2e --- /dev/null +++ b/devel/boost-libs/files/patch-boost_stacktrace_detail_collect__unwind.ipp @@ -0,0 +1,23 @@ +Expose _Unwind_Backtrace in libcxxrt + +--- boost/stacktrace/detail/collect_unwind.ipp.orig 2017-09-02 09:56:17 UTC ++++ boost/stacktrace/detail/collect_unwind.ipp +@@ -14,7 +14,18 @@ + + #include <boost/stacktrace/safe_dump_to.hpp> + ++#ifndef _GNU_SOURCE ++#define _GNU_SOURCE ++#define _GNU_SOURCE_TEMPORARY ++#endif + #include <unwind.h> ++#ifdef _GNU_SOURCE_TEMPORARY ++#undef _GNU_SOURCE ++#undef _GNU_SOURCE_TEMPORARY ++#endif ++#if !defined(_URC_NO_REASON) && defined(__arm__) && !defined(__ARM_DWARF_EH__) ++#define _URC_NO_REASON _URC_OK ++#endif + #include <cstdio> + + #if !defined(_GNU_SOURCE) && !defined(BOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED) && !defined(BOOST_WINDOWS) |