Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 2020 10:51:13 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r535388 - in head/devel/libunwind: . files
Message-ID:  <202005161051.04GApDeE009198@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat May 16 10:51:12 2020
New Revision: 535388
URL: https://svnweb.freebsd.org/changeset/ports/535388

Log:
  Update to 20200331 (1.4.0)
  
  - Update MASTER_SITES
  
  Changes:	https://github.com/libunwind/libunwind/releases
  PR:		246390
  Exp-run by:	antoine

Deleted:
  head/devel/libunwind/files/patch-include_libunwind__i.h
  head/devel/libunwind/files/patch-src_coredump___UCD__access__reg__freebsd.c
  head/devel/libunwind/files/patch-src_ptrace___UPT__access__fpreg.c
  head/devel/libunwind/files/patch-tests-mapper.c
Modified:
  head/devel/libunwind/Makefile
  head/devel/libunwind/distinfo
  head/devel/libunwind/files/patch-include_libunwind-aarch64.h
  head/devel/libunwind/files/patch-src_aarch64_Ginit.c
  head/devel/libunwind/pkg-plist

Modified: head/devel/libunwind/Makefile
==============================================================================
--- head/devel/libunwind/Makefile	Sat May 16 10:50:07 2020	(r535387)
+++ head/devel/libunwind/Makefile	Sat May 16 10:51:12 2020	(r535388)
@@ -2,11 +2,11 @@
 # $FreeBSD$
 
 PORTNAME=	libunwind
-PORTVERSION=	20170615	# This is the release date of libunwind 1.2.1
-PORTREVISION=	1
+PORTVERSION=	20200331	# This is the release date on SAVANNAH
 CATEGORIES=	devel
-MASTER_SITES=	SAVANNAH
-DISTNAME=	${PORTNAME}-1.2.1
+MASTER_SITES=	SAVANNAH \
+		https://github.com/libunwind/libunwind/releases/download/v${PORTVERSION}/
+DISTNAME=	${PORTNAME}-1.4.0
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Generic stack unwinding library
@@ -21,7 +21,6 @@ USES=		libtool pathfix pkgconfig
 CONFIGURE_ARGS=	ac_cv_path_LATEX2MAN=${TRUE}
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
-LLD_UNSAFE=	yes
 USE_LDCONFIG=	yes
 
 PLIST_SUB=	ARCH=${ARCH:S|i386|x86|:S|amd64|x86_64|}

Modified: head/devel/libunwind/distinfo
==============================================================================
--- head/devel/libunwind/distinfo	Sat May 16 10:50:07 2020	(r535387)
+++ head/devel/libunwind/distinfo	Sat May 16 10:51:12 2020	(r535388)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1515854352
-SHA256 (libunwind-1.2.1.tar.gz) = 3f3ecb90e28cbe53fba7a4a27ccce7aad188d3210bb1964a923a731a27a75acb
-SIZE (libunwind-1.2.1.tar.gz) = 780774
+TIMESTAMP = 1587489444
+SHA256 (libunwind-1.4.0.tar.gz) = df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435
+SIZE (libunwind-1.4.0.tar.gz) = 872941

Modified: head/devel/libunwind/files/patch-include_libunwind-aarch64.h
==============================================================================
--- head/devel/libunwind/files/patch-include_libunwind-aarch64.h	Sat May 16 10:50:07 2020	(r535387)
+++ head/devel/libunwind/files/patch-include_libunwind-aarch64.h	Sat May 16 10:51:12 2020	(r535388)
@@ -1,11 +1,11 @@
---- include/libunwind-aarch64.h.orig	2018-06-15 23:58:09 UTC
+--- include/libunwind-aarch64.h.orig	2018-12-20 18:10:32 UTC
 +++ include/libunwind-aarch64.h
-@@ -177,7 +177,7 @@ typedef ucontext_t unw_tdep_context_t;
+@@ -212,7 +212,7 @@ typedef struct
  
  #define unw_tdep_getcontext(uc) (({					\
    unw_tdep_context_t *unw_ctx = (uc);					\
--  register uint64_t *unw_base asm ("x0") = (uint64_t*) unw_ctx->uc_mcontext.regs;		\
-+  register uint64_t *unw_base asm ("x0") = (uint64_t*) unw_ctx->uc_mcontext.mc_gpregs.gp_x;		\
+-  register uint64_t *unw_base __asm__ ("x0") = (uint64_t*) unw_ctx->uc_mcontext.regs;		\
++  register uint64_t *unw_base __asm__ ("x0") = (uint64_t*) unw_ctx->uc_mcontext.mc_gpregs.gp_x;		\
    __asm__ __volatile__ (						\
       "stp x0, x1, [%[base], #0]\n" \
       "stp x2, x3, [%[base], #16]\n" \

Modified: head/devel/libunwind/files/patch-src_aarch64_Ginit.c
==============================================================================
--- head/devel/libunwind/files/patch-src_aarch64_Ginit.c	Sat May 16 10:50:07 2020	(r535387)
+++ head/devel/libunwind/files/patch-src_aarch64_Ginit.c	Sat May 16 10:51:12 2020	(r535388)
@@ -1,11 +1,11 @@
---- src/aarch64/Ginit.c.orig	2018-06-15 23:58:20 UTC
+--- src/aarch64/Ginit.c.orig	2020-03-31 15:35:32 UTC
 +++ src/aarch64/Ginit.c
 @@ -44,7 +44,7 @@ static inline void *
- uc_addr (ucontext_t *uc, int reg)
+ uc_addr (unw_tdep_context_t *uc, int reg)
  {
-   if (reg >= UNW_AARCH64_X0 && reg <= UNW_AARCH64_V31)
+   if (reg >= UNW_AARCH64_X0 && reg < UNW_AARCH64_V0)
 -    return &uc->uc_mcontext.regs[reg];
 +    return &uc->uc_mcontext.mc_gpregs.gp_x[reg];
+   else if (reg >= UNW_AARCH64_V0 && reg <= UNW_AARCH64_V31)
+     return &GET_FPCTX(uc)->vregs[reg - UNW_AARCH64_V0];
    else
-     return NULL;
- }

Modified: head/devel/libunwind/pkg-plist
==============================================================================
--- head/devel/libunwind/pkg-plist	Sat May 16 10:50:07 2020	(r535387)
+++ head/devel/libunwind/pkg-plist	Sat May 16 10:51:12 2020	(r535388)
@@ -39,6 +39,7 @@ man/man3/libunwind-ia64.3.gz
 man/man3/libunwind-ptrace.3.gz
 man/man3/libunwind-setjmp.3.gz
 man/man3/libunwind.3.gz
+man/man3/unw_apply_reg_state.3.gz
 man/man3/unw_backtrace.3.gz
 man/man3/unw_create_addr_space.3.gz
 man/man3/unw_destroy_addr_space.3.gz
@@ -51,11 +52,14 @@ man/man3/unw_get_proc_name.3.gz
 man/man3/unw_get_reg.3.gz
 man/man3/unw_getcontext.3.gz
 man/man3/unw_init_local.3.gz
+man/man3/unw_init_local2.3.gz
 man/man3/unw_init_remote.3.gz
 man/man3/unw_is_fpreg.3.gz
 man/man3/unw_is_signal_frame.3.gz
+man/man3/unw_reg_states_iterate.3.gz
 man/man3/unw_regname.3.gz
 man/man3/unw_resume.3.gz
+man/man3/unw_set_cache_size.3.gz
 man/man3/unw_set_caching_policy.3.gz
 man/man3/unw_set_fpreg.3.gz
 man/man3/unw_set_reg.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005161051.04GApDeE009198>