aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/vsftpd/files
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2011-05-22 16:08:15 +0800
committerdinoex <dinoex@FreeBSD.org>2011-05-22 16:08:15 +0800
commit53572671258f89b3608c7a8f32db3b3bc011c5bb (patch)
treea0686fd9ea5e18dac21142ad95136b243ab3c3af /ftp/vsftpd/files
parent1ace960298c6cfdad3d4b82baff3b1999e6565b5 (diff)
downloadfreebsd-ports-gnome-53572671258f89b3608c7a8f32db3b3bc011c5bb.tar.gz
freebsd-ports-gnome-53572671258f89b3608c7a8f32db3b3bc011c5bb.tar.zst
freebsd-ports-gnome-53572671258f89b3608c7a8f32db3b3bc011c5bb.zip
- fix build on FreeBSD 9.0-CURRENT
PR: 157124 Submitted by: Andrey V. Elsukov
Diffstat (limited to 'ftp/vsftpd/files')
-rw-r--r--ftp/vsftpd/files/patch-sysdeputil.c17
1 files changed, 13 insertions, 4 deletions
diff --git a/ftp/vsftpd/files/patch-sysdeputil.c b/ftp/vsftpd/files/patch-sysdeputil.c
index 77124fec1d21..becc2bdb4970 100644
--- a/ftp/vsftpd/files/patch-sysdeputil.c
+++ b/ftp/vsftpd/files/patch-sysdeputil.c
@@ -1,6 +1,15 @@
---- sysdeputil.c.orig 2009-11-12 04:16:15.000000000 +0100
-+++ sysdeputil.c 2010-01-26 22:30:10.000000000 +0100
-@@ -1213,7 +1213,9 @@
+--- sysdeputil.c.orig 2010-03-26 06:25:33.000000000 +0300
++++ sysdeputil.c 2011-05-17 20:51:35.350022421 +0400
+@@ -57,7 +57,7 @@
+ #endif
+ #define VSF_SYSDEP_HAVE_SHADOW
+ #define VSF_SYSDEP_HAVE_USERSHELL
+-#define VSF_SYSDEP_HAVE_LIBCAP
++#undef VSF_SYSDEP_HAVE_LIBCAP
+ #define VSF_SYSDEP_HAVE_UTMPX
+
+ #define __USE_GNU
+@@ -1213,7 +1213,9 @@ vsf_insert_uwtmp(const struct mystr* p_u
setutxent();
(void) pututxline(&s_utent);
endutxent();
@@ -10,7 +19,7 @@
}
void
-@@ -1232,7 +1234,9 @@
+@@ -1232,7 +1234,9 @@ vsf_remove_uwtmp(void)
(void) pututxline(&s_utent);
endutxent();
s_utent.ut_tv.tv_sec = vsf_sysutil_get_time_sec();