From: Hauke Mehrtens Date: Sat, 9 Nov 2019 19:07:18 +0000 (+0100) Subject: strace: Fix build on PowerPC X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=69dcd89dcd1358eaf226029793afa1a1ef8e4022;p=openwrt%2Fstaging%2Fadrian.git strace: Fix build on PowerPC This patch breaks building on PowerPC, like the mpc85xx_generic target for me. Fixes: FS#2585 Signed-off-by: Hauke Mehrtens (cherry picked from commit b01305c8d26d8eb3525cf79591075601b04736cc) --- 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 deleted file mode 100644 index 93e2980749..0000000000 --- a/package/devel/strace/patches/100-workaround--pt-reg-collisions-ppc.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/ptrace.h -+++ b/ptrace.h -@@ -30,7 +30,14 @@ - # define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args - # endif - -+#if POWERPC -+#include -+#define __ASSEMBLY__ -+#endif - # include -+#if POWERPC -+#undef __ASSEMBLY__ -+#endif - - # ifdef HAVE_STRUCT_IA64_FPREG - # undef ia64_fpreg