From fd2bb2f751c13b3c0c002b8e012810902b9da364 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 8 Jun 2018 02:02:24 -0500 Subject: harmony -> system --- system/strace/fix-ppc-pt-regs-collision.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 system/strace/fix-ppc-pt-regs-collision.patch (limited to 'system/strace/fix-ppc-pt-regs-collision.patch') diff --git a/system/strace/fix-ppc-pt-regs-collision.patch b/system/strace/fix-ppc-pt-regs-collision.patch new file mode 100644 index 000000000..6de0fcdd6 --- /dev/null +++ b/system/strace/fix-ppc-pt-regs-collision.patch @@ -0,0 +1,19 @@ +--- a/ptrace.h ++++ b/ptrace.h +@@ -48,7 +48,15 @@ + # define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args + #endif + +-#include ++#if defined(__powerpc__) || defined(__powerpc64__) ++# include ++# define __ASSEMBLY__ ++# include ++# undef __ASSEMBLY__ ++#else ++# include ++#endif ++ + + #ifdef HAVE_STRUCT_IA64_FPREG + # undef ia64_fpreg -- cgit v1.2.3-60-g2f50