Author: nbd
Date: 2014-06-08 13:21:37 +0200 (Sun, 08 Jun 2014)
New Revision: 41054

Added:
   trunk/package/devel/valgrind/patches/120-no_linux_ptrace_h.patch
Log:
valgrind: avoid including linux/ptrace.h to fix a musl build error

Signed-off-by: Felix Fietkau <[email protected]>

Added: trunk/package/devel/valgrind/patches/120-no_linux_ptrace_h.patch
===================================================================
--- trunk/package/devel/valgrind/patches/120-no_linux_ptrace_h.patch            
                (rev 0)
+++ trunk/package/devel/valgrind/patches/120-no_linux_ptrace_h.patch    
2014-06-08 11:21:37 UTC (rev 41054)
@@ -0,0 +1,10 @@
+--- a/coregrind/vgdb.c
++++ b/coregrind/vgdb.c
+@@ -102,7 +102,6 @@ I_die_here : (PTRACEINVOKER) architectur
+ #include <sys/user.h>
+ #if defined(VGO_linux)
+ #  include <sys/prctl.h>
+-#  include <linux/ptrace.h>
+ #endif
+ #endif
+ 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to