diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-25 13:01:35 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-25 13:01:35 +0200 |
commit | 6765a17f36ebd3493758f23d1170dbe01c86f406 (patch) | |
tree | 014e094eca5476a5e3e50a4edf9e6a277873bb82 /package/strace/patches/patch-defs_h | |
parent | 82cce6038c7fc05bf1107613fc4b5d3ba8aceb83 (diff) |
fix strace compile
Diffstat (limited to 'package/strace/patches/patch-defs_h')
-rw-r--r-- | package/strace/patches/patch-defs_h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/package/strace/patches/patch-defs_h b/package/strace/patches/patch-defs_h index 50d061348..5f0cd1732 100644 --- a/package/strace/patches/patch-defs_h +++ b/package/strace/patches/patch-defs_h @@ -1,6 +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:51:03.000000000 +0200 -@@ -162,7 +162,7 @@ extern char *stpcpy(char *dst, const cha ++++ strace-4.8/defs.h 2013-10-24 18:52:25.000000000 +0200 +@@ -155,14 +155,14 @@ extern char *stpcpy(char *dst, const cha + || defined(METAG) \ + || defined(TILE) \ + || defined(XTENSA) \ +- ) && defined(__GLIBC__) ++ ) && defined(__linux__) + # include <sys/ptrace.h> + #else + /* Work around awkward prototype in ptrace.h. */ # define ptrace xptrace # include <sys/ptrace.h> # undef ptrace |