aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-11-21 15:10:13 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-11-21 15:10:13 +0000
commita36b0bc35407a7caab8d8ac20d7865841bbcb6f0 (patch)
treef38b080b255c432400cc98e822aabcd6234e0851 /ftp
parent1e96543a88fddf2f8cd4d21a50e628cdede319b3 (diff)
downloadports-a36b0bc35407a7caab8d8ac20d7865841bbcb6f0.tar.gz
ports-a36b0bc35407a7caab8d8ac20d7865841bbcb6f0.zip
Notes
Diffstat (limited to 'ftp')
-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;
+ }
+