From a36b0bc35407a7caab8d8ac20d7865841bbcb6f0 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Fri, 21 Nov 2003 15:10:13 +0000 Subject: - Fix output of time_t for 64bit PR: 59546 Submitted by: matthias.andree@gmx.de --- ftp/vsftpd/Makefile | 1 + ftp/vsftpd/files/patch-sysutil.c | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 ftp/vsftpd/files/patch-sysutil.c 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; + } + -- cgit v1.2.3