fix vsftpd compile error (#1409)
authorFelix Fietkau <nbd@openwrt.org>
Fri, 2 Mar 2007 16:58:47 +0000 (16:58 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 2 Mar 2007 16:58:47 +0000 (16:58 +0000)
SVN-Revision: 6461

net/vsftpd/patches/04-compile_fix.patch [new file with mode: 0644]

diff --git a/net/vsftpd/patches/04-compile_fix.patch b/net/vsftpd/patches/04-compile_fix.patch
new file mode 100644 (file)
index 0000000..8f5e265
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ur vsftpd.old/sysdeputil.c vsftpd.dev/sysdeputil.c
+--- vsftpd.old/sysdeputil.c    2005-05-24 00:34:23.000000000 +0200
++++ vsftpd.dev/sysdeputil.c    2007-03-02 17:50:30.969786936 +0100
+@@ -159,7 +159,6 @@
+ #include <linux/capability.h>
+ #include <errno.h>
+ #include <syscall.h>
+-_syscall2(int, capset, cap_user_header_t, header, const cap_user_data_t, data)
+ /* Gross HACK to avoid warnings - linux headers overlap glibc headers */
+ #undef __NFDBITS
+ #undef __FDMASK
+Only in vsftpd.old: vsftpd-2.0.4