summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-05-26 23:00:18 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-05-26 23:00:18 +0200
commit9d07fcd08e710beff30841b47db8b8772a9d3b7b (patch)
tree0358a43058ec0224b09266eef6eddb3671ecf1a0
parent0346e90a8b611ecf62984eccf379a37262aeb7c6 (diff)
downloadbuildroot-novena-9d07fcd08e710beff30841b47db8b8772a9d3b7b.tar.gz
buildroot-novena-9d07fcd08e710beff30841b47db8b8772a9d3b7b.zip
vsftpd: fix build without largefile support
Fix lfs patch to include <features.h> before checking any of the uClibc defines. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--CHANGES3
-rw-r--r--package/vsftpd/vsftpd-2.0.7-uclibc_lfs.patch (renamed from package/vsftpd/vsftpd-2.0.5-uclibc_lfs.patch)2
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 354186a09..83242aa48 100644
--- a/CHANGES
+++ b/CHANGES
@@ -11,7 +11,8 @@
nbd, netsnmp, ntfsprogs, ntp, olsr, pango, pciutils, pcmanfm,
php, pkg-config, psmisc, qt, samba, shared-mime-info,
squashfs, squashfs3, sshfs, startup-notification, swfdec,
- sylpheed, uemacs, util-linux, valgrind, vpnc, webkit, xstroke
+ sylpheed, uemacs, util-linux, valgrind, vpnc, vsftpd, webkit,
+ xstroke
Issues resolved (http://bugs.uclibc.org):
diff --git a/package/vsftpd/vsftpd-2.0.5-uclibc_lfs.patch b/package/vsftpd/vsftpd-2.0.7-uclibc_lfs.patch
index ebd25ca78..610b782cd 100644
--- a/package/vsftpd/vsftpd-2.0.5-uclibc_lfs.patch
+++ b/package/vsftpd/vsftpd-2.0.7-uclibc_lfs.patch
@@ -5,7 +5,7 @@ diff -rdup vsftpd-2.0.5.orig/sysutil.c vsftpd-2.0.5/sysutil.c
#include "utility.h"
#include "tunables.h"
-+#include "builddefs.h"
++#include <features.h>
+
+#if !defined __UCLIBC__ || (defined __UCLIBC__ && defined __UCLIBC_HAS_LFS__)
/* Activate 64-bit file support on Linux/32bit plus others */