strace-fix-ftbfs.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --- strace-4.8/process.c.orig 2013-12-06 16:18:27.682402291 +0000
  2. +++ strace-4.8/process.c 2013-12-06 16:19:14.602165296 +0000
  3. @@ -63,7 +63,7 @@
  4. # ifdef HAVE_STRUCT_PT_ALL_USER_REGS
  5. # define pt_all_user_regs XXX_pt_all_user_regs
  6. # endif
  7. -# include <linux/ptrace.h>
  8. +# include <asm/ptrace.h>
  9. # undef ia64_fpreg
  10. # undef pt_all_user_regs
  11. #endif
  12. --- strace-4.8/signal.c.orig 2013-12-06 16:28:54.800551324 +0000
  13. +++ strace-4.8/signal.c 2013-12-06 16:30:26.033019415 +0000
  14. @@ -51,7 +51,7 @@
  15. # ifdef HAVE_STRUCT_PT_ALL_USER_REGS
  16. # define pt_all_user_regs XXX_pt_all_user_regs
  17. # endif
  18. -# include <linux/ptrace.h>
  19. +# include <asm/ptrace.h>
  20. # undef ia64_fpreg
  21. # undef pt_all_user_regs
  22. #endif
  23. --- strace-4.8/syscall.c.orig 2013-12-06 16:29:37.912245321 +0000
  24. +++ strace-4.8/syscall.c 2013-12-06 16:30:55.933500132 +0000
  25. @@ -48,7 +48,7 @@
  26. # ifdef HAVE_STRUCT_PT_ALL_USER_REGS
  27. # define pt_all_user_regs XXX_pt_all_user_regs
  28. # endif
  29. -# include <linux/ptrace.h>
  30. +# include <asm/ptrace.h>
  31. # undef ia64_fpreg
  32. # undef pt_all_user_regs
  33. #endif
  34. --- strace-4.8/util.c.orig 2013-12-06 16:29:44.382349431 +0000
  35. +++ strace-4.8/util.c 2013-12-06 16:31:04.267634082 +0000
  36. @@ -55,7 +55,7 @@
  37. # ifdef HAVE_STRUCT_PT_ALL_USER_REGS
  38. # define pt_all_user_regs XXX_pt_all_user_regs
  39. # endif
  40. -# include <linux/ptrace.h>
  41. +# include <asm/ptrace.h>
  42. # undef ia64_fpreg
  43. # undef pt_all_user_regs
  44. #endif