aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/vsftpd
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-11-21 23:10:13 +0800
committerdinoex <dinoex@FreeBSD.org>2003-11-21 23:10:13 +0800
commit44ae1e4f75137f1c045710cbec792c454d8fc75d (patch)
tree0168e1d3e0dbe5cdd8b2547c084f7b96c639bc2b /ftp/vsftpd
parentb5afac6e67981302fa1fb8b5e1e70d084a05662c (diff)
downloadfreebsd-ports-gnome-44ae1e4f75137f1c045710cbec792c454d8fc75d.tar.gz
freebsd-ports-gnome-44ae1e4f75137f1c045710cbec792c454d8fc75d.tar.zst
freebsd-ports-gnome-44ae1e4f75137f1c045710cbec792c454d8fc75d.zip
- Fix output of time_t for 64bit
PR: 59546 Submitted by: matthias.andree@gmx.de
Diffstat (limited to 'ftp/vsftpd')
-rw-r--r--ftp/vsftpd/Makefile1
-rw-r--r--ftp/vsftpd/files/patch-sysutil.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/ftp/vsftpd/Makefile b/ftp/vsftpd/Makefile
index 8e6ea2e5f748..5ab5b732fc68 100644
--- a/ftp/vsftpd/Makefile
+++ b/ftp/vsftpd/Makefile
@@ -7,6 +7,7 @@
PORTNAME= vsftpd
PORTVERSION= 1.2.1
+PORTREVISION= 1
CATEGORIES= ftp
MASTER_SITES= ftp://vsftpd.beasts.org/users/cevans/
diff --git a/ftp/vsftpd/files/patch-sysutil.c b/ftp/vsftpd/files/patch-sysutil.c
new file mode 100644
index 000000000000..2650592c9772
--- /dev/null
+++ b/ftp/vsftpd/files/patch-sysutil.c
@@ -0,0 +1,11 @@
+--- sysutil.c~ Tue Nov 11 02:37:16 2003
++++ sysutil.c Fri Nov 21 13:47:12 2003
+@@ -1403,7 +1403,7 @@
+ * more recent dates appear later in the alphabet! Most notably, we must
+ * make sure we pad to the same length with 0's
+ */
+- snprintf(intbuf, sizeof(intbuf), "%030ld", p_stat->st_mtime);
++ snprintf(intbuf, sizeof(intbuf), "%030ld", (long)p_stat->st_mtime);
+ return intbuf;
+ }
+