View | Details | Raw Unified | Return to bug 219524 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 5-11 Link Here
5
PORTVERSION=	20170615	# This is the release date of libunwind 1.2.1
5
PORTVERSION=	20170615	# This is the release date of libunwind 1.2.1
6
CATEGORIES=	devel
6
CATEGORIES=	devel
7
MASTER_SITES=	SAVANNAH
7
MASTER_SITES=	SAVANNAH
8
DISTNAME=	${PORTNAME}-1.2.1
8
DISTNAME=	${PORTNAME}-1.3.1
9
9
10
MAINTAINER=	danilo@FreeBSD.org
10
MAINTAINER=	danilo@FreeBSD.org
11
COMMENT=	Generic stack unwinding library
11
COMMENT=	Generic stack unwinding library
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1515854352
1
TIMESTAMP = 1567441647
2
SHA256 (libunwind-1.2.1.tar.gz) = 3f3ecb90e28cbe53fba7a4a27ccce7aad188d3210bb1964a923a731a27a75acb
2
SHA256 (libunwind-1.3.1.tar.gz) = 43997a3939b6ccdf2f669b50fdb8a4d3205374728c2923ddc2354c65260214f8
3
SIZE (libunwind-1.2.1.tar.gz) = 780774
3
SIZE (libunwind-1.3.1.tar.gz) = 801262
(-)files/patch-include_libunwind-aarch64.h (-1 / +1 lines)
Lines 1-4 Link Here
1
--- include/libunwind-aarch64.h.orig	2018-06-15 23:58:09 UTC
1
--- include/libunwind-aarch64.h.orig	2019-09-02 16:47:22 UTC
2
+++ include/libunwind-aarch64.h
2
+++ include/libunwind-aarch64.h
3
@@ -177,7 +177,7 @@ typedef ucontext_t unw_tdep_context_t;
3
@@ -177,7 +177,7 @@ typedef ucontext_t unw_tdep_context_t;
4
 
4
 
(-)files/patch-include_libunwind__i.h (-14 lines)
Lines 1-14 Link Here
1
--- include/libunwind_i.h.orig	2018-06-15 23:58:15 UTC
2
+++ include/libunwind_i.h
3
@@ -86,6 +86,11 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 
4
 #   error Host has unknown byte-order.
5
 # endif
6
 #endif
7
+#ifdef __FreeBSD__
8
+#define __BYTE_ORDER BYTE_ORDER
9
+#define __LITTLE_ENDIAN LITTLE_ENDIAN
10
+#define __BIG_ENDIAN BIG_ENDIAN
11
+#endif
12
 
13
 #if defined(HAVE__BUILTIN_UNREACHABLE)
14
 # define unreachable() __builtin_unreachable()
(-)files/patch-src_aarch64_Ginit.c (-4 / +4 lines)
Lines 1-11 Link Here
1
--- src/aarch64/Ginit.c.orig	2018-06-15 23:58:20 UTC
1
--- src/aarch64/Ginit.c.orig	2019-09-02 16:52:44 UTC
2
+++ src/aarch64/Ginit.c
2
+++ src/aarch64/Ginit.c
3
@@ -44,7 +44,7 @@ static inline void *
3
@@ -44,7 +44,7 @@ static inline void *
4
 uc_addr (ucontext_t *uc, int reg)
4
 uc_addr (ucontext_t *uc, int reg)
5
 {
5
 {
6
   if (reg >= UNW_AARCH64_X0 && reg <= UNW_AARCH64_V31)
6
   if (reg >= UNW_AARCH64_X0 && reg < UNW_AARCH64_V0)
7
-    return &uc->uc_mcontext.regs[reg];
7
-    return &uc->uc_mcontext.regs[reg];
8
+    return &uc->uc_mcontext.mc_gpregs.gp_x[reg];
8
+    return &uc->uc_mcontext.mc_gpregs.gp_x[reg];
9
   else if (reg >= UNW_AARCH64_V0 && reg <= UNW_AARCH64_V31)
10
     return &GET_FPCTX(uc)->vregs[reg - UNW_AARCH64_V0];
9
   else
11
   else
10
     return NULL;
11
 }
(-)files/patch-tests-mapper.c (-12 lines)
Lines 1-12 Link Here
1
--- tests/mapper.c.orig	2014-10-06 14:46:27.000000000 -0400
2
+++ tests/mapper.c	2014-10-06 14:47:00.000000000 -0400
3
@@ -39,6 +39,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DE
4
 #if !defined(MAP_ANONYMOUS) && defined(MAP_ANON)
5
 # define MAP_ANONYMOUS MAP_ANON
6
 #endif
7
+#if !defined(MAP_NORESERVE)
8
+# define MAP_NORESERVE 0
9
+#endif
10
 
11
 int
12
 main (void)

Return to bug 219524