aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
Diffstat (limited to 'ftp')
-rw-r--r--ftp/vsftpd/files/patch-sysdeputil.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/ftp/vsftpd/files/patch-sysdeputil.c b/ftp/vsftpd/files/patch-sysdeputil.c
new file mode 100644
index 000000000000..77124fec1d21
--- /dev/null
+++ b/ftp/vsftpd/files/patch-sysdeputil.c
@@ -0,0 +1,22 @@
+--- 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 @@
+ setutxent();
+ (void) pututxline(&s_utent);
+ endutxent();
++#if !defined(__FreeBSD__)
+ updwtmpx(WTMPX_FILE, &s_utent);
++#endif
+ }
+
+ void
+@@ -1232,7 +1234,9 @@
+ (void) pututxline(&s_utent);
+ endutxent();
+ s_utent.ut_tv.tv_sec = vsf_sysutil_get_time_sec();
++#if !defined(__FreeBSD__)
+ updwtmpx(WTMPX_FILE, &s_utent);
++#endif
+ }
+
+ #endif /* !VSF_SYSDEP_HAVE_UTMPX */