mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
strace: fix build on aarch64.
This commit is contained in:
parent
421be61530
commit
bd5f37d58d
1 changed files with 11 additions and 0 deletions
11
srcpkgs/strace/patches/aarch64.patch
Normal file
11
srcpkgs/strace/patches/aarch64.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- sigreturn.c
|
||||||
|
+++ sigreturn.c
|
||||||
|
@@ -12,6 +12,8 @@
|
||||||
|
#elif NSIG < 32
|
||||||
|
# error NSIG < 32
|
||||||
|
#endif
|
||||||
|
+extern uint64_t *const aarch64_sp_ptr;
|
||||||
|
+extern uint32_t *const arm_sp_ptr;
|
||||||
|
|
||||||
|
int
|
||||||
|
sys_sigreturn(struct tcb *tcp)
|
Loading…
Add table
Reference in a new issue