diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-04-27 08:03:08 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-04-27 08:03:38 +0200 |
commit | dffe927fb9efe074ba27025f6dee78fed419c5e3 (patch) | |
tree | b6750f3a4692956bbd390929f829876cfebe88a6 /package/strace/patches/patch-ptrace_h | |
parent | 728410b334733b9c9803f238e0a696d37593a354 (diff) |
strace: fix musl ppc compile
Diffstat (limited to 'package/strace/patches/patch-ptrace_h')
-rw-r--r-- | package/strace/patches/patch-ptrace_h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/strace/patches/patch-ptrace_h b/package/strace/patches/patch-ptrace_h new file mode 100644 index 000000000..c46bb7d7a --- /dev/null +++ b/package/strace/patches/patch-ptrace_h @@ -0,0 +1,12 @@ +--- strace-4.11.orig/ptrace.h 2015-12-17 18:56:48.000000000 +0100 ++++ strace-4.11/ptrace.h 2016-04-24 21:28:59.689052020 +0200 +@@ -52,7 +52,9 @@ extern long ptrace(int, int, char *, lon + # define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args + #endif + ++#define pt_regs uapi_pt_regs + #include <linux/ptrace.h> ++#undef pt_regs + + #ifdef HAVE_STRUCT_IA64_FPREG + # undef ia64_fpreg |