aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/devel/valgrind/patches/120-no_linux_ptrace_h.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/devel/valgrind/patches/120-no_linux_ptrace_h.patch b/package/devel/valgrind/patches/120-no_linux_ptrace_h.patch
new file mode 100644
index 0000000000..f159876dbc
--- /dev/null
+++ b/package/devel/valgrind/patches/120-no_linux_ptrace_h.patch
@@ -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
+