svn commit: r308696 - in head/ftp/mirror: . files
Cy Schubert
cy at FreeBSD.org
Tue Dec 11 14:20:15 UTC 2012
Author: cy
Date: Tue Dec 11 14:20:14 2012
New Revision: 308696
URL: http://svnweb.freebsd.org/changeset/ports/308696
Log:
Use current local time Perl module, timelocal.pl is deprecated.
PR: 174357
Submitted by: Valentin Nechayev <netch at netch.kiev.ua>
Added:
head/ftp/mirror/files/patch-dateconv.pl (contents, props changed)
Modified:
head/ftp/mirror/Makefile
Modified: head/ftp/mirror/Makefile
==============================================================================
--- head/ftp/mirror/Makefile Tue Dec 11 14:19:55 2012 (r308695)
+++ head/ftp/mirror/Makefile Tue Dec 11 14:20:14 2012 (r308696)
@@ -7,7 +7,7 @@
PORTNAME= mirror
PORTVERSION= 2.9
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= ftp
MASTER_SITES= ftp://sunsite.ualberta.ca/pub/Mirror/mirror/ \
http://komquats.com/distfiles/ \
Added: head/ftp/mirror/files/patch-dateconv.pl
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ftp/mirror/files/patch-dateconv.pl Tue Dec 11 14:20:14 2012 (r308696)
@@ -0,0 +1,12 @@
+--- dateconv.pl.orig 1998-05-29 12:04:32.000000000 -0700
++++ dateconv.pl 2012-12-11 06:16:24.592709834 -0800
+@@ -47,7 +47,8 @@
+ }
+
+
+-require 'timelocal.pl';
++# require 'timelocal.pl';
++use Time::Local qw(timelocal timegm);
+ package dateconv;
+
+ # Use timelocal rather than gmtime.
More information about the svn-ports-all
mailing list