aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2005-11-14 02:42:14 +0800
committermnag <mnag@FreeBSD.org>2005-11-14 02:42:14 +0800
commit3b5e7890151c8b63acf9f3a3da4d3c15151b34bf (patch)
tree5315c8b6d95ceaede569e7f51cb17fba776a2fb4 /x11-fm
parent51a2318a9d5fa9a5493cf7f378072f63032d1d20 (diff)
downloadfreebsd-ports-gnome-3b5e7890151c8b63acf9f3a3da4d3c15151b34bf.tar.gz
freebsd-ports-gnome-3b5e7890151c8b63acf9f3a3da4d3c15151b34bf.tar.zst
freebsd-ports-gnome-3b5e7890151c8b63acf9f3a3da4d3c15151b34bf.zip
Fixed modulo year = 00xx in file dates
Bump PORTREVISION Add SHA256 PR: 88916, 88452 Submitted by: Andrew Pogrebennyk <andrew.nau.ua@gmail.com> (maintainer) Notified by: User1001 <supraexpress@globaleyes.net>
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/filerunner/Makefile1
-rw-r--r--x11-fm/filerunner/distinfo1
-rw-r--r--x11-fm/filerunner/files/patch-ac9
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;
}