Date: Monday, September 17, 2018 @ 11:25:34 Author: eschwartz Revision: 382362
add missing patch file Added: julia/repos/community-x86_64/julia-libunwind-version.diff julia/trunk/julia-libunwind-version.diff -----------------------------------------------------+ repos/community-x86_64/julia-libunwind-version.diff | 17 +++++++++++++++++ trunk/julia-libunwind-version.diff | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) Added: repos/community-x86_64/julia-libunwind-version.diff =================================================================== --- repos/community-x86_64/julia-libunwind-version.diff (rev 0) +++ repos/community-x86_64/julia-libunwind-version.diff 2018-09-17 11:25:34 UTC (rev 382362) @@ -0,0 +1,17 @@ +diff --git a/src/julia_internal.h b/src/julia_internal.h +index 186b5d7b2b..33143f2062 100644 +--- a/src/julia_internal.h ++++ b/src/julia_internal.h +@@ -623,12 +623,9 @@ extern volatile int jl_in_stackwalk; + # include <libunwind.h> + typedef unw_context_t bt_context_t; + typedef unw_cursor_t bt_cursor_t; +-# if (!defined(SYSTEM_LIBUNWIND) || UNW_VERSION_MAJOR > 1 || \ +- (UNW_VERSION_MAJOR == 1 && UNW_VERSION_MINOR > 1)) + // Enable our memory manager only for libunwind with our patch or + // on a newer release + # define JL_UNW_HAS_FORMAT_IP 1 +-# endif + #else + // Unwinding is disabled + typedef int bt_context_t; Added: trunk/julia-libunwind-version.diff =================================================================== --- trunk/julia-libunwind-version.diff (rev 0) +++ trunk/julia-libunwind-version.diff 2018-09-17 11:25:34 UTC (rev 382362) @@ -0,0 +1,17 @@ +diff --git a/src/julia_internal.h b/src/julia_internal.h +index 186b5d7b2b..33143f2062 100644 +--- a/src/julia_internal.h ++++ b/src/julia_internal.h +@@ -623,12 +623,9 @@ extern volatile int jl_in_stackwalk; + # include <libunwind.h> + typedef unw_context_t bt_context_t; + typedef unw_cursor_t bt_cursor_t; +-# if (!defined(SYSTEM_LIBUNWIND) || UNW_VERSION_MAJOR > 1 || \ +- (UNW_VERSION_MAJOR == 1 && UNW_VERSION_MINOR > 1)) + // Enable our memory manager only for libunwind with our patch or + // on a newer release + # define JL_UNW_HAS_FORMAT_IP 1 +-# endif + #else + // Unwinding is disabled + typedef int bt_context_t;
