ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

strace-kernelhdr_3.12.6.patch (634B)


      1 --- strace-4.8.org/process.c
      2 +++ strace-4.8/process.c
      3 @@ -55,19 +55,6 @@
      4  # endif
      5  #endif
      6  
      7 -#ifdef HAVE_LINUX_PTRACE_H
      8 -# undef PTRACE_SYSCALL
      9 -# ifdef HAVE_STRUCT_IA64_FPREG
     10 -#  define ia64_fpreg XXX_ia64_fpreg
     11 -# endif
     12 -# ifdef HAVE_STRUCT_PT_ALL_USER_REGS
     13 -#  define pt_all_user_regs XXX_pt_all_user_regs
     14 -# endif
     15 -# include <linux/ptrace.h>
     16 -# undef ia64_fpreg
     17 -# undef pt_all_user_regs
     18 -#endif
     19 -
     20  #if defined(SPARC64)
     21  # define r_pc r_tpc
     22  # undef PTRACE_GETREGS
     23 --- strace-4.8.org/resource.c
     24 +++ strace-4.8/resource.c
     25 @@ -360,6 +360,7 @@
     26  }
     27  #endif /* ALPHA */
     28  
     29 +#include <sys/sysinfo.h>
     30  int
     31  sys_sysinfo(struct tcb *tcp)
     32  {