diff options
author | cy <cy@FreeBSD.org> | 2012-12-11 22:20:14 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2012-12-11 22:20:14 +0800 |
commit | 850b9ea2f2efb4ca4d2e4657019ea363892648a4 (patch) | |
tree | d88e91c0b5df40ddb86efcf5a248842027703792 /ftp/mirror | |
parent | 0fb2da9c6d9255eca4cab2d7c216625856e4e950 (diff) | |
download | freebsd-ports-gnome-850b9ea2f2efb4ca4d2e4657019ea363892648a4.tar.gz freebsd-ports-gnome-850b9ea2f2efb4ca4d2e4657019ea363892648a4.tar.zst freebsd-ports-gnome-850b9ea2f2efb4ca4d2e4657019ea363892648a4.zip |
Use current local time Perl module, timelocal.pl is deprecated.
PR: 174357
Submitted by: Valentin Nechayev <netch@netch.kiev.ua>
Diffstat (limited to 'ftp/mirror')
-rw-r--r-- | ftp/mirror/Makefile | 2 | ||||
-rw-r--r-- | ftp/mirror/files/patch-dateconv.pl | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/ftp/mirror/Makefile b/ftp/mirror/Makefile index 577062b224b2..e91da6bf9a0f 100644 --- a/ftp/mirror/Makefile +++ b/ftp/mirror/Makefile @@ -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/ \ diff --git a/ftp/mirror/files/patch-dateconv.pl b/ftp/mirror/files/patch-dateconv.pl new file mode 100644 index 000000000000..4a44f7ee2c1a --- /dev/null +++ b/ftp/mirror/files/patch-dateconv.pl @@ -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. |