From 8c716c528bc7a91dc1b065269c23707f8c3cb82f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 14 Aug 2013 08:56:47 +0200 Subject: fix strace with musl libc --- package/strace/patches/patch-defs_h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 package/strace/patches/patch-defs_h (limited to 'package/strace/patches/patch-defs_h') 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 + # undef ptrace +-# ifdef POWERPC ++# if defined(POWERPC) || defined(ARM) + # define __KERNEL__ + # include + # 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 -- cgit v1.2.3