Package: fakeroot
Version: 1.13.1
Severity: normal
Tags: patch

uClibc can be built without Largefile support (LFS).
If LFS in on, then __UCLIBC_HAS_LFS__ is defined.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fakeroot depends on:
ii  libc6                         2.9-25     GNU C Library: Shared libraries

fakeroot recommends no packages.

fakeroot suggests no packages.

-- no debconf information
diff -rdup fakeroot-1.14.3.oorig/communicate.h fakeroot-1.14.3/communicate.h
--- fakeroot-1.14.3.oorig/communicate.h	2009-10-28 02:12:45.000000000 +0100
+++ fakeroot-1.14.3/communicate.h	2009-11-15 00:53:15.000000000 +0100
@@ -50,7 +50,10 @@
 #endif
 
 /* Then decide whether we do or do not use the stat64 support */
-#if defined __APPLE__ || (defined(sun) && !defined(__SunOS_5_5_1) && !defined(_LP64)) || __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1)
+#if defined __APPLE__ \
+	|| (defined(sun) && !defined(__SunOS_5_5_1) && !defined(_LP64)) \
+	|| (!defined __UCLIBC__ && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1))) \
+	|| (defined __UCLIBC__ && defined __UCLIBC_HAS_LFS__)
 # define STAT64_SUPPORT
 #else
 # warning Not using stat64 support

Reply via email to