From ac53d741bd627e33f347c6c1357ab5c3865c47ea Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Fri, 27 Nov 2015 19:19:20 +0100 Subject: [PATCH] strace: fix 32-bit arm build. --- srcpkgs/strace/patches/aarch64.patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/strace/patches/aarch64.patch b/srcpkgs/strace/patches/aarch64.patch index 395372c53fa..da2d6fddb29 100644 --- a/srcpkgs/strace/patches/aarch64.patch +++ b/srcpkgs/strace/patches/aarch64.patch @@ -1,11 +1,13 @@ --- sigreturn.c +++ sigreturn.c -@@ -12,6 +12,8 @@ +@@ -12,6 +12,10 @@ #elif NSIG < 32 # error NSIG < 32 #endif ++#ifdef __arch64__ +extern uint64_t *const aarch64_sp_ptr; +extern uint32_t *const arm_sp_ptr; ++#endif int sys_sigreturn(struct tcb *tcp)