mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 10:26:28 -04:00
Use current local time Perl module, timelocal.pl is deprecated.
PR: 174357 Submitted by: Valentin Nechayev <netch@netch.kiev.ua>
This commit is contained in:
parent
b36b567487
commit
6e6c26d0d9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308696
2 changed files with 13 additions and 1 deletions
|
@ -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/ \
|
||||
|
|
12
ftp/mirror/files/patch-dateconv.pl
Normal file
12
ftp/mirror/files/patch-dateconv.pl
Normal file
|
@ -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.
|
Loading…
Add table
Reference in a new issue