summaryrefslogtreecommitdiff
path: root/package/strace/patches/patch-defs_h.orig
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-08-14 08:56:47 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-08-14 08:56:47 +0200
commit8c716c528bc7a91dc1b065269c23707f8c3cb82f (patch)
tree185ccdb752faa7023fefe82841ea614983149c97 /package/strace/patches/patch-defs_h.orig
parent4bd93deef32c9d52c009d3f6133f0e57803f9375 (diff)
fix strace with musl libc
Diffstat (limited to 'package/strace/patches/patch-defs_h.orig')
-rw-r--r--package/strace/patches/patch-defs_h.orig14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/strace/patches/patch-defs_h.orig b/package/strace/patches/patch-defs_h.orig
new file mode 100644
index 000000000..60ca6e97a
--- /dev/null
+++ b/package/strace/patches/patch-defs_h.orig
@@ -0,0 +1,14 @@
+--- strace-4.8.orig/defs.h 2013-05-14 16:10:42.000000000 +0200
++++ strace-4.8/defs.h 2013-08-14 08:01:46.000000000 +0200
+@@ -222,11 +222,6 @@ extern long ptrace(int, int, char *, lon
+ # define PTRACE_EVENT_EXIT 6
+ #endif
+
+-#if !defined(__GLIBC__)
+-# define PTRACE_PEEKUSER PTRACE_PEEKUSR
+-# define PTRACE_POKEUSER PTRACE_POKEUSR
+-#endif
+-
+ #if USE_SEIZE
+ # undef PTRACE_SEIZE
+ # define PTRACE_SEIZE 0x4206