fix vsftpd compile error (#1409)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6461 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9a8a652bbf
commit
e78193474a
12
net/vsftpd/patches/04-compile_fix.patch
Normal file
12
net/vsftpd/patches/04-compile_fix.patch
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user