diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-08-14 12:51:52 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-08-14 12:51:52 +0200 |
commit | a7ced5ec9a36f2142d404053dc384ae3af1fe047 (patch) | |
tree | 0fbc32d5e91d00450a65d146c328966877b56e65 /package/strace/patches/patch-defs_h | |
parent | e2692cea04fe08014537bbecf5fb52033cb463e2 (diff) | |
parent | 47ba3ba77f0a108450c5536daf77271125953966 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/strace/patches/patch-defs_h')
-rw-r--r-- | package/strace/patches/patch-defs_h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/package/strace/patches/patch-defs_h b/package/strace/patches/patch-defs_h new file mode 100644 index 000000000..50d061348 --- /dev/null +++ b/package/strace/patches/patch-defs_h @@ -0,0 +1,23 @@ +--- strace-4.8.orig/defs.h 2013-05-14 16:10:42.000000000 +0200 ++++ strace-4.8/defs.h 2013-08-14 08:51:03.000000000 +0200 +@@ -162,7 +162,7 @@ extern char *stpcpy(char *dst, const cha + # define ptrace xptrace + # include <sys/ptrace.h> + # undef ptrace +-# ifdef POWERPC ++# if defined(POWERPC) || defined(ARM) + # define __KERNEL__ + # include <asm/ptrace.h> + # undef __KERNEL__ +@@ -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 |