diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/devel/strace/patches/100-workaround--pt-reg-collisions-ppc.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/devel/strace/patches/100-workaround--pt-reg-collisions-ppc.patch b/package/devel/strace/patches/100-workaround--pt-reg-collisions-ppc.patch new file mode 100644 index 0000000000..9b9d12a286 --- /dev/null +++ b/package/devel/strace/patches/100-workaround--pt-reg-collisions-ppc.patch @@ -0,0 +1,14 @@ +--- a/ptrace.h ++++ b/ptrace.h +@@ -52,7 +52,10 @@ extern long ptrace(int, int, char *, long); + # define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args + #endif + ++#include <linux/types.h> ++#define __ASSEMBLY__ + #include <linux/ptrace.h> ++#undef __ASSEMBLY__ + + #ifdef HAVE_STRUCT_IA64_FPREG + # undef ia64_fpreg +-- |