summaryrefslogtreecommitdiff
path: root/system/strace/fix-ppc-pt-regs-collision.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-17 22:17:32 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-17 22:17:32 +0000
commit1ba40b2101e4483827b8237f3c14149d6b6d506a (patch)
treec6525976733620f3f90c9d5288be1f19ef9a811f /system/strace/fix-ppc-pt-regs-collision.patch
parent48ff0db3ba4e34e651d4c53dc1766ae897094451 (diff)
downloadpackages-1ba40b2101e4483827b8237f3c14149d6b6d506a.tar.gz
packages-1ba40b2101e4483827b8237f3c14149d6b6d506a.tar.bz2
packages-1ba40b2101e4483827b8237f3c14149d6b6d506a.tar.xz
packages-1ba40b2101e4483827b8237f3c14149d6b6d506a.zip
system/strace: bump to 5.2
Diffstat (limited to 'system/strace/fix-ppc-pt-regs-collision.patch')
-rw-r--r--system/strace/fix-ppc-pt-regs-collision.patch28
1 files changed, 14 insertions, 14 deletions
diff --git a/system/strace/fix-ppc-pt-regs-collision.patch b/system/strace/fix-ppc-pt-regs-collision.patch
index 6de0fcdd6..27d601b34 100644
--- a/system/strace/fix-ppc-pt-regs-collision.patch
+++ b/system/strace/fix-ppc-pt-regs-collision.patch
@@ -1,19 +1,19 @@
--- a/ptrace.h
+++ b/ptrace.h
-@@ -48,7 +48,15 @@
- # define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args
- #endif
+@@ -30,7 +30,15 @@
+ # define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args
+ # endif
--#include <linux/ptrace.h>
-+#if defined(__powerpc__) || defined(__powerpc64__)
-+# include <linux/types.h>
-+# define __ASSEMBLY__
-+# include <linux/ptrace.h>
-+# undef __ASSEMBLY__
-+#else
-+# include <linux/ptrace.h>
-+#endif
+-# include <linux/ptrace.h>
++# if defined(__powerpc__) || defined(__powerpc64__)
++# include <linux/types.h>
++# define __ASSEMBLY__
++# include <linux/ptrace.h>
++# undef __ASSEMBLY__
++# else
++# include <linux/ptrace.h>
++# endif
+
- #ifdef HAVE_STRUCT_IA64_FPREG
- # undef ia64_fpreg
+ # ifdef HAVE_STRUCT_IA64_FPREG
+ # undef ia64_fpreg