summaryrefslogtreecommitdiffstats
path: root/lang/eperl
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-05-01 10:57:55 +0000
committerknu <knu@FreeBSD.org>2000-05-01 10:57:55 +0000
commitd0aa3b2646b7c9fecce5dc2c6e0ee0f13501a284 (patch)
treedad57a1c33e11afbf5049dc500a92fa02b5de69c /lang/eperl
parent4f34d7b34ea54c79c9c59feab9bd43b9c8e448ae (diff)
downloadFreeBSD-ports-d0aa3b2646b7c9fecce5dc2c6e0ee0f13501a284.zip
FreeBSD-ports-d0aa3b2646b7c9fecce5dc2c6e0ee0f13501a284.tar.gz
Add a Y2K fix patch.
PR: ports/18321 Submitted by: MAWATARI Ryota <ma@neko.net>
Diffstat (limited to 'lang/eperl')
-rw-r--r--lang/eperl/files/patch-aa13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/eperl/files/patch-aa b/lang/eperl/files/patch-aa
new file mode 100644
index 0000000..3d5bdaf
--- /dev/null
+++ b/lang/eperl/files/patch-aa
@@ -0,0 +1,13 @@
+--- eperl_sys.c.original Mon Jul 27 17:41:34 1998
++++ eperl_sys.c Mon May 1 15:07:34 2000
+@@ -239,8 +239,8 @@
+ char timestr[128];
+
+ tm = localtime(t);
+- sprintf(timestr, "%02d-%02d-19%02d %02d:%02d",
+- tm->tm_mday, tm->tm_mon+1, tm->tm_year,
++ sprintf(timestr, "%02d-%02d-%04d %02d:%02d",
++ tm->tm_mday, tm->tm_mon+1, tm->tm_year+1900,
+ tm->tm_hour, tm->tm_min);
+ return strdup(timestr);
+ }
OpenPOWER on IntegriCloud