diff --git a/net-ftp/vsftpd/files/vsftpd-2.0.6-caps.patch b/net-ftp/vsftpd/files/vsftpd-2.0.6-caps.patch new file mode 100644 --- /dev/null +++ b/net-ftp/vsftpd/files/vsftpd-2.0.6-caps.patch @@ -0,0 +1,16 @@ +diff -ur vsftpd-2.0.5.orig/sysdeputil.c vsftpd-2.0.5/sysdeputil.c +--- vsftpd-2.0.5.orig/sysdeputil.c 2007-01-05 17:58:28.000000000 +0000 ++++ vsftpd-2.0.5/sysdeputil.c 2007-01-05 17:55:30.000000000 +0000 +@@ -154,11 +154,8 @@ + #include + + #if defined(VSF_SYSDEP_HAVE_CAPABILITIES) && !defined(VSF_SYSDEP_HAVE_LIBCAP) +-#include + #include +-#include +-#include +-_syscall2(int, capset, cap_user_header_t, header, const cap_user_data_t, data) ++#include + /* Gross HACK to avoid warnings - linux headers overlap glibc headers */ + #undef __NFDBITS + #undef __FDMASK