aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/util-linux-ng/util-linux-ng-2.18/uclibc-nolargefile.patch
blob: 2c0c1bd5199aca3c25d665d1aed17aed4d7938d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Upstream: http://www.spinics.net/lists/util-linux-ng/msg03651.html

--- util-linux-ng-2.17/shlibs/blkid/src/llseek.c.orig	2010-11-29 11:31:49.000000000 +1030
+++ util-linux-ng-2.17/shlibs/blkid/src/llseek.c	2010-11-29 11:52:07.000000000 +1030
@@ -28,7 +28,7 @@
 
 #include "blkidP.h"
 
-#ifdef __linux__
+#if defined(__linux__) && !(defined(__UCLIBC__) && !defined(__USE_FILE_OFFSET64))
 
 #if defined(HAVE_LSEEK64) && defined(HAVE_LSEEK64_PROTOTYPE) || defined(__UCLIBC__)