From owner-svn-ports-head@freebsd.org Sat May 16 10:51:14 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6DF2F2ED14C; Sat, 16 May 2020 10:51:14 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49PMX21Nz0z4GR6; Sat, 16 May 2020 10:51:14 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2B06CCAC3; Sat, 16 May 2020 10:51:14 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 04GApEFU009203; Sat, 16 May 2020 10:51:14 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 04GApDeE009198; Sat, 16 May 2020 10:51:13 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202005161051.04GApDeE009198@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 16 May 2020 10:51:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r535388 - in head/devel/libunwind: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel/libunwind: . files X-SVN-Commit-Revision: 535388 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 May 2020 10:51:14 -0000 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