summaryrefslogtreecommitdiff
path: root/package/strace/patches/patch-desc_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-08-14 12:51:52 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-08-14 12:51:52 +0200
commita7ced5ec9a36f2142d404053dc384ae3af1fe047 (patch)
tree0fbc32d5e91d00450a65d146c328966877b56e65 /package/strace/patches/patch-desc_c
parente2692cea04fe08014537bbecf5fb52033cb463e2 (diff)
parent47ba3ba77f0a108450c5536daf77271125953966 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/strace/patches/patch-desc_c')
-rw-r--r--package/strace/patches/patch-desc_c11
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)