summaryrefslogtreecommitdiff
path: root/package/vsftpd/vsftpd-2.3.4-dont-force-largefile.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2011-12-11 12:25:57 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2011-12-11 22:54:25 +0100
commit5806dd23ed28818b3787e027647f516f0bef352b (patch)
tree248bdc7fe5352ca67fdc7491b1729236de715637 /package/vsftpd/vsftpd-2.3.4-dont-force-largefile.patch
parentb224dc9e0103d41396a9f59cc1e43b6d9578875d (diff)
vsftpd: bump to version 2.3.4
Bump vsftpd to version 2.3.4 Fixes build issues with binutils 2.22+ and changed upstream URL Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/vsftpd/vsftpd-2.3.4-dont-force-largefile.patch')
-rw-r--r--package/vsftpd/vsftpd-2.3.4-dont-force-largefile.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/vsftpd/vsftpd-2.3.4-dont-force-largefile.patch b/package/vsftpd/vsftpd-2.3.4-dont-force-largefile.patch
new file mode 100644
index 000000000..b66c25efd
--- /dev/null
+++ b/package/vsftpd/vsftpd-2.3.4-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 <jacmet@sunsite.dk>
+---
+ 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"
+