diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-08-14 08:56:47 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-08-14 08:56:47 +0200 |
commit | 8c716c528bc7a91dc1b065269c23707f8c3cb82f (patch) | |
tree | 185ccdb752faa7023fefe82841ea614983149c97 /package/strace/patches/patch-desc_c | |
parent | 4bd93deef32c9d52c009d3f6133f0e57803f9375 (diff) |
fix strace with musl libc
Diffstat (limited to 'package/strace/patches/patch-desc_c')
-rw-r--r-- | package/strace/patches/patch-desc_c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/strace/patches/patch-desc_c b/package/strace/patches/patch-desc_c new file mode 100644 index 000000000..2702c7f5f --- /dev/null +++ b/package/strace/patches/patch-desc_c @@ -0,0 +1,11 @@ +--- strace-4.8.orig/desc.c 2013-05-02 00:39:10.000000000 +0200 ++++ strace-4.8/desc.c 2013-08-14 08:55:36.000000000 +0200 +@@ -223,7 +223,7 @@ static const struct xlat perf_event_open + { 0, NULL }, + }; + +-#if _LFS64_LARGEFILE ++#if defined(_LFS64_LARGEFILE) && defined(__GLIBC__) || defined(__UCLIBC__) + /* fcntl/lockf */ + static void + printflock64(struct tcb *tcp, long addr, int getlk) |