diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-27 19:42:53 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-27 19:42:53 +0100 |
commit | b4607f0f799c33138d27dd68fea5c23db2c19756 (patch) | |
tree | 19f9bfcf1344d53675d4715343ae1ff26bc4c64b /package/strace/patches/patch-signal_c | |
parent | 75d149d0e0c688b9f121f06114abdae3bebff62c (diff) | |
parent | fe967bd0b07b9c17a99cc8b31a756d8438a49117 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/strace/patches/patch-signal_c')
-rw-r--r-- | package/strace/patches/patch-signal_c | 22 |
1 files changed, 22 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..d0f9dde00 --- /dev/null +++ b/package/strace/patches/patch-signal_c @@ -0,0 +1,22 @@ +--- strace-4.8.orig/signal.c 2013-05-23 15:41:23.000000000 +0200 ++++ strace-4.8/signal.c 2014-02-26 17:40:43.000000000 +0100 +@@ -60,6 +60,10 @@ + # include <asm/ptrace_offsets.h> + #endif + ++#ifndef POWERPC ++#include <asm/ptrace.h> ++#endif ++ + #if defined(SPARC) || defined(SPARC64) || defined(MIPS) + typedef struct { + struct pt_regs si_regs; +@@ -815,7 +819,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; |