diff options
-rw-r--r-- | x11-fm/filerunner/Makefile | 1 | ||||
-rw-r--r-- | x11-fm/filerunner/distinfo | 1 | ||||
-rw-r--r-- | x11-fm/filerunner/files/patch-ac | 9 |
3 files changed, 7 insertions, 4 deletions
diff --git a/x11-fm/filerunner/Makefile b/x11-fm/filerunner/Makefile index fc20549b685d..d06a09d8e021 100644 --- a/x11-fm/filerunner/Makefile +++ b/x11-fm/filerunner/Makefile @@ -7,6 +7,7 @@ PORTNAME= filerunner PORTVERSION= 2.5.1 +PORTREVISION= 1 CATEGORIES= x11-fm tk84 MASTER_SITES= ${MASTER_SITE_NETBSD} \ http://www.cd.chalmers.se/~hch/ diff --git a/x11-fm/filerunner/distinfo b/x11-fm/filerunner/distinfo index 663b22808ca3..57c537a1ad92 100644 --- a/x11-fm/filerunner/distinfo +++ b/x11-fm/filerunner/distinfo @@ -1,2 +1,3 @@ MD5 (FileRunner-2.5.1.tar.gz) = dc46234d75c906972696242cd330847d +SHA256 (FileRunner-2.5.1.tar.gz) = 3f1ad9b52cca5d130a1679aaa9ac3d34fd75518d636a2d7f1bf1c841fd54590b SIZE (FileRunner-2.5.1.tar.gz) = 122795 diff --git a/x11-fm/filerunner/files/patch-ac b/x11-fm/filerunner/files/patch-ac index 215eb6b4681a..1c5a1612a121 100644 --- a/x11-fm/filerunner/files/patch-ac +++ b/x11-fm/filerunner/files/patch-ac @@ -1,5 +1,5 @@ ---- ext.c.orig Wed Oct 12 18:22:46 2005 -+++ ext.c Wed Oct 12 18:22:22 2005 +--- ext.c.orig Sun Nov 13 12:52:16 2005 ++++ ext.c Sun Nov 13 12:52:57 2005 @@ -123,11 +123,12 @@ HANDLE2(*p != '\0', "Error converting arg to int"); @@ -7,11 +7,12 @@ + time_s->tm_year = 1900 + time_s->tm_year; if (dateformat) - sprintf(interp->result, "%02d%02d%02d %02d:%02d:%02d", time_s->tm_mday, time_s->tm_mon+1, +- time_s->tm_year % 100, time_s->tm_hour, time_s->tm_min, time_s->tm_sec); + sprintf(interp->result, "%02d%02d%04d %02d:%02d:%02d", time_s->tm_mday, time_s->tm_mon+1, - time_s->tm_year % 100, time_s->tm_hour, time_s->tm_min, time_s->tm_sec); ++ time_s->tm_year, time_s->tm_hour, time_s->tm_min, time_s->tm_sec); else - sprintf(interp->result, "%02d%02d%02d %02d:%02d:%02d", time_s->tm_year % 100, time_s->tm_mon+1, -+ sprintf(interp->result, "%04d%02d%02d %02d:%02d:%02d", time_s->tm_year % 100, time_s->tm_mon+1, ++ sprintf(interp->result, "%04d%02d%02d %02d:%02d:%02d", time_s->tm_year, time_s->tm_mon+1, time_s->tm_mday, time_s->tm_hour, time_s->tm_min, time_s->tm_sec); return TCL_OK; } |