Browse Source

some try to fix

Waldemar Brodkorb 10 years ago
parent
commit
3fa00c8a16

+ 1 - 1
package/strace/Makefile

@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		strace
 PKG_VERSION:=		4.8
-PKG_RELEASE:=		4
+PKG_RELEASE:=		5
 PKG_MD5SUM:=		c575ef43829586801f514fd91bfe7575
 PKG_DESCR:=		System call trace program
 PKG_SECTION:=		debug

+ 16 - 1
package/strace/patches/patch-syscall_c

@@ -1,5 +1,5 @@
 --- strace-4.8.orig/syscall.c	2013-05-14 16:10:42.000000000 +0200
-+++ strace-4.8/syscall.c	2013-10-25 14:52:35.000000000 +0200
++++ strace-4.8/syscall.c	2014-01-23 19:57:19.000000000 +0100
 @@ -40,17 +40,6 @@
  # ifndef PTRACE_PEEKUSR
  #  define PTRACE_PEEKUSR PTRACE_PEEKUSER
@@ -18,3 +18,18 @@
  #endif
  
  #if defined(SPARC64)
+@@ -72,13 +61,7 @@
+ # include <elf.h>
+ #endif
+ 
+-#if defined(AARCH64)
+-# include <asm/ptrace.h>
+-#endif
+-
+-#if defined(XTENSA)
+-# include <asm/ptrace.h>
+-#endif
++#include <asm/ptrace.h>
+ 
+ #ifndef ERESTARTSYS
+ # define ERESTARTSYS	512

+ 0 - 20
package/strace/patches/patch-util_c

@@ -1,20 +0,0 @@
---- 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