summaryrefslogtreecommitdiff
path: root/package/strace/patches/patch-signal_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-08-14 08:56:47 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-08-14 08:56:47 +0200
commit8c716c528bc7a91dc1b065269c23707f8c3cb82f (patch)
tree185ccdb752faa7023fefe82841ea614983149c97 /package/strace/patches/patch-signal_c
parent4bd93deef32c9d52c009d3f6133f0e57803f9375 (diff)
fix strace with musl libc
Diffstat (limited to 'package/strace/patches/patch-signal_c')
-rw-r--r--package/strace/patches/patch-signal_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/strace/patches/patch-signal_c b/package/strace/patches/patch-signal_c
new file mode 100644
index 000000000..041f7177b
--- /dev/null
+++ b/package/strace/patches/patch-signal_c
@@ -0,0 +1,11 @@
+--- strace-4.8.orig/signal.c 2013-05-23 15:41:23.000000000 +0200
++++ strace-4.8/signal.c 2013-08-14 08:50:16.000000000 +0200
+@@ -815,7 +815,7 @@ sys_sigreturn(struct tcb *tcp)
+ {
+ #if defined(ARM)
+ if (entering(tcp)) {
+- struct sigcontext_struct sc;
++ struct sigcontext sc;
+ sigset_t sigm;
+ if (umove(tcp, arm_regs.ARM_sp, &sc) < 0)
+ return 0;