From 765fcfd0261c54af2b550a77d7dbe49d5395c408 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 27 Feb 2014 09:39:53 +0100 Subject: rework musl patches, mostly from sabotage linux --- package/strace/patches/patch-desc_c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/strace/patches/patch-desc_c (limited to 'package/strace/patches/patch-desc_c') diff --git a/package/strace/patches/patch-desc_c b/package/strace/patches/patch-desc_c new file mode 100644 index 000000000..9cfb5f505 --- /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 2014-02-25 15:16:36.000000000 +0100 +@@ -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) -- cgit v1.2.3