From ed6bdad8a6181d9d128252f1c7a6cb2cce81ab03 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 27 Sep 2010 17:55:18 +0200 Subject: vsftpd: convert to gentargets, bump version and fix build vsftpd didn't build, and wasn't using the gentargets infrastructure. Signed-off-by: Peter Korsgaard --- .../vsftpd/vsftpd-2.3.2-dont-force-largefile.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 package/vsftpd/vsftpd-2.3.2-dont-force-largefile.patch (limited to 'package/vsftpd/vsftpd-2.3.2-dont-force-largefile.patch') diff --git a/package/vsftpd/vsftpd-2.3.2-dont-force-largefile.patch b/package/vsftpd/vsftpd-2.3.2-dont-force-largefile.patch new file mode 100644 index 000000000..b66c25efd --- /dev/null +++ b/package/vsftpd/vsftpd-2.3.2-dont-force-largefile.patch @@ -0,0 +1,27 @@ +[PATCH] vsftpd: don't enforce largefile support + +In Buildroot we enable/disable largefile support globally, and pass the +correct defines in CFLAGS, so don't enforce it unconditionally. + +Signed-off-by: Peter Korsgaard +--- + sysutil.c | 6 ------ + 1 file changed, 6 deletions(-) + +Index: vsftpd-2.3.2/sysutil.c +=================================================================== +--- vsftpd-2.3.2.orig/sysutil.c ++++ vsftpd-2.3.2/sysutil.c +@@ -17,12 +17,6 @@ + #include "tunables.h" + #include "sysdeputil.h" + +-/* Activate 64-bit file support on Linux/32bit plus others */ +-#define _FILE_OFFSET_BITS 64 +-#define _LARGEFILE_SOURCE 1 +-#define _LARGEFILE64_SOURCE 1 +-#define _LARGE_FILES 1 +- + /* For Linux, this adds nothing :-) */ + #include "port/porting_junk.h" + -- cgit v1.2.3