diff options
Diffstat (limited to 'package/strace/patches/patch-util_c')
-rw-r--r-- | package/strace/patches/patch-util_c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/strace/patches/patch-util_c b/package/strace/patches/patch-util_c new file mode 100644 index 000000000..e5bf2cfc9 --- /dev/null +++ b/package/strace/patches/patch-util_c @@ -0,0 +1,20 @@ +--- strace-4.8.orig/util.c 2013-05-06 20:23:01.000000000 +0200 ++++ strace-4.8/util.c 2013-10-25 14:54:06.000000000 +0200 +@@ -47,17 +47,6 @@ + #ifdef HAVE_SYS_REG_H + # include <sys/reg.h> + # define PTRACE_PEEKUSR PTRACE_PEEKUSER +-#elif defined(HAVE_LINUX_PTRACE_H) +-# undef PTRACE_SYSCALL +-# ifdef HAVE_STRUCT_IA64_FPREG +-# define ia64_fpreg XXX_ia64_fpreg +-# endif +-# ifdef HAVE_STRUCT_PT_ALL_USER_REGS +-# define pt_all_user_regs XXX_pt_all_user_regs +-# endif +-# include <linux/ptrace.h> +-# undef ia64_fpreg +-# undef pt_all_user_regs + #endif + + int |