packages/net/vsftpd/patches/004-disable-capabilities.patch
jow 066f726437 [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
2012-03-14 18:42:09 +00:00

13 lines
269 B
Diff

--- 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>