diff options
author | Gleb Popov <arrowd@FreeBSD.org> | 2024-02-03 07:48:07 +0000 |
---|---|---|
committer | Gleb Popov <arrowd@FreeBSD.org> | 2024-02-03 18:53:01 +0000 |
commit | 663a5a08daebb7563af762e032c9776d4b2846aa (patch) | |
tree | 91cd629f6aa2d7cdd3a403c63becddde309d4ae3 | |
parent | da8515966acd197f77a11eb1149b751ec8295707 (diff) | |
download | ports-663a5a08daebb7563af762e032c9776d4b2846aa.tar.gz ports-663a5a08daebb7563af762e032c9776d4b2846aa.zip |
devel/libunwind: Unbreak build on 32-bit ARM.
PR: 276346
Reported by: John F. Carr <jfc@mit.edu>
-rw-r--r-- | devel/libunwind/files/patch-src_arm_Gtrace.c | 13 |
1 files changed, 13 insertions, 0 deletions
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 |