diff options
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; |