void-packages/srcpkgs/strace/patches/use-sys-ptrace.h.patch
2014-01-08 18:09:17 +01:00

13 lines
383 B
Diff

Otherwise struct ptrace_peeksiginfo_args is redefined.
--- process.c.orig 2014-01-08 18:07:14.306950549 +0100
+++ process.c 2014-01-08 18:07:19.585917125 +0100
@@ -63,7 +63,7 @@
# ifdef HAVE_STRUCT_PT_ALL_USER_REGS
# define pt_all_user_regs XXX_pt_all_user_regs
# endif
-# include <linux/ptrace.h>
+# include <sys/ptrace.h>
# undef ia64_fpreg
# undef pt_all_user_regs
#endif