diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-06-08 11:21:37 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-06-08 11:21:37 +0000 |
commit | 9eb6e19424d3764850026356b465340879c19d1c (patch) | |
tree | 26f2952cc2028aac0039c443295130de0ab554d4 /package | |
parent | b0caf60f09cf5fe17d0aa7eb96fe82f83287ea45 (diff) | |
download | upstream-9eb6e19424d3764850026356b465340879c19d1c.tar.gz upstream-9eb6e19424d3764850026356b465340879c19d1c.tar.bz2 upstream-9eb6e19424d3764850026356b465340879c19d1c.zip |
valgrind: avoid including linux/ptrace.h to fix a musl build error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41054 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/devel/valgrind/patches/120-no_linux_ptrace_h.patch | 10 |
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 + |