[packages] vsftpd: fix compilation if libcap has been built in the same tree (#10937)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30941 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
12
net/vsftpd/patches/004-disable-capabilities.patch
Normal file
12
net/vsftpd/patches/004-disable-capabilities.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- a/sysdeputil.c
|
||||
+++ b/sysdeputil.c
|
||||
@@ -165,6 +165,9 @@
|
||||
#endif
|
||||
/* END config */
|
||||
|
||||
+#undef VSF_SYSDEP_HAVE_CAPABILITIES
|
||||
+#undef VSF_SYSDEP_HAVE_LIBCAP
|
||||
+
|
||||
/* PAM support - we include our own dummy version if the system lacks this */
|
||||
#include <security/pam_appl.h>
|
||||
|
Reference in New Issue
Block a user