opnsense-ports/ftp/mirror/files/patch-dateconv.pl
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

12 lines
283 B
Perl

--- 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.