git: 7e5115442c36 - main - devel/libunwind: Use upstream patch link

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 17 Oct 2024 19:06:20 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7e5115442c36ec183f2f83781b858f713269240d

commit 7e5115442c36ec183f2f83781b858f713269240d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-17 19:02:36 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-17 19:02:36 +0000

    devel/libunwind: Use upstream patch link
    
    Reference:      https://github.com/libunwind/libunwind/commit/b841b2a2665da25dd28fd16977a77bf8b3494dc7
---
 devel/libunwind/Makefile                     |  3 +++
 devel/libunwind/distinfo                     |  4 +++-
 devel/libunwind/files/patch-src_arm_Gtrace.c | 13 -------------
 3 files changed, 6 insertions(+), 14 deletions(-)

diff --git a/devel/libunwind/Makefile b/devel/libunwind/Makefile
index ef5cdb529801..1130e2b72b2a 100644
--- a/devel/libunwind/Makefile
+++ b/devel/libunwind/Makefile
@@ -5,6 +5,9 @@ CATEGORIES=	devel
 MASTER_SITES=	https://github.com/libunwind/libunwind/releases/download/v${LIBUNWIND_VERSION}/
 DISTNAME=	libunwind-${LIBUNWIND_VERSION}
 
+PATCH_SITES=	https://github.com/libunwind/libunwind/commit/
+PATCHFILES=	b841b2a2665da25dd28fd16977a77bf8b3494dc7.patch:-p1
+
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Generic stack unwinding library
 WWW=		https://github.com/libunwind/libunwind \
diff --git a/devel/libunwind/distinfo b/devel/libunwind/distinfo
index ab9c76da9e3d..6d62f9dcbeaf 100644
--- a/devel/libunwind/distinfo
+++ b/devel/libunwind/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1709390368
+TIMESTAMP = 1728922872
 SHA256 (libunwind-1.8.1.tar.gz) = ddf0e32dd5fafe5283198d37e4bf9decf7ba1770b6e7e006c33e6df79e6a6157
 SIZE (libunwind-1.8.1.tar.gz) = 958468
+SHA256 (b841b2a2665da25dd28fd16977a77bf8b3494dc7.patch) = 56570397cbdd40ef36d3fe06538357651b2a7923780bc7e49b486857eb4999b5
+SIZE (b841b2a2665da25dd28fd16977a77bf8b3494dc7.patch) = 953
diff --git a/devel/libunwind/files/patch-src_arm_Gtrace.c b/devel/libunwind/files/patch-src_arm_Gtrace.c
deleted file mode 100644
index 001ab529c6cd..000000000000
--- a/devel/libunwind/files/patch-src_arm_Gtrace.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/arm/Gtrace.c.orig	2023-12-22 11:34:31 UTC
-+++ src/arm/Gtrace.c
-@@ -514,7 +514,9 @@ tdep_trace (unw_cursor_t *cursor, void **buffer, int *
-       if (likely(ret >= 0))
-         ACCESS_MEM_FAST(ret, c->validate, d, cfa + LINUX_SC_LR_OFF, lr);
- #elif defined(__FreeBSD__)
--      #error implement UNW_ARM_FRAME_SIGRETURN on FreeBSD
-+      Dprintf ("%s: implement me\n", __FUNCTION__);
-+      ret = -UNW_ESTOPUNWIND;
-+      break;
- #endif
- 
-       /* Resume stack at signal restoration point. The stack is not