--- a/package/uclibc/0016_uclibc_1.0.14-statfs64.patch 2017-11-20 11:29:01.671692614 +0100 +++ b/package/uclibc/0016_uclibc_1.0.14-statfs64.patch 2017-12-14 16:14:23.726324819 +0100 @@ -0,0 +1,29 @@ +From e3d6c8bffe79b2c070bc7a3aabc9d9c65f6b099e Mon Sep 17 00:00:00 2001 +From: Waldemar Brodkorb +Date: Fri, 3 Nov 2017 20:15:44 +0100 +Subject: [PATCH] Only emulate statfs64 if __NR_statfs64 is not defined + +After discussions on the busybox mailinglist. + +Reported-by: Ralf Friedl +Signed-off-by: Waldemar Brodkorb +--- + libc/misc/statfs/statfs64.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libc/misc/statfs/statfs64.c b/libc/misc/statfs/statfs64.c +index 7317870..da0cd6a 100644 +--- a/libc/misc/statfs/statfs64.c ++++ b/libc/misc/statfs/statfs64.c +@@ -25,7 +25,7 @@ + + extern __typeof(statfs) __libc_statfs; + +-#if defined __NR_statfs ++#if !defined __NR_statfs64 + /* Return information about the filesystem on which FILE resides. */ + int statfs64 (const char *file, struct statfs64 *buf) + { +-- +2.9.3 +