git: 663a5a08daeb - main - devel/libunwind: Unbreak build on 32-bit ARM.

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sat, 03 Feb 2024 18:53:38 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=663a5a08daebb7563af762e032c9776d4b2846aa

commit 663a5a08daebb7563af762e032c9776d4b2846aa
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-02-03 07:48:07 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-02-03 18:53:01 +0000

    devel/libunwind: Unbreak build on 32-bit ARM.
    
    PR:             276346
    Reported by:    John F. Carr <jfc@mit.edu>
---
 devel/libunwind/files/patch-src_arm_Gtrace.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/devel/libunwind/files/patch-src_arm_Gtrace.c b/devel/libunwind/files/patch-src_arm_Gtrace.c
new file mode 100644
index 000000000000..001ab529c6cd
--- /dev/null
+++ b/devel/libunwind/files/patch-src_arm_Gtrace.c
@@ -0,0 +1,13 @@
+--- 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