ports/devel/cvsweb3/files/patch-cvsweb.cgi
Dmitry Marakasov 20185eaeac - Fix with perl 5.24
- While here, add LICENSE, NO_ARCH and regenerate patches

PR:		216465
Submitted by:	vinny.abello@nttdata.com
Approved by:	maintainer timeout (noackjr@alumni.rice.edu, 2 weeks)
2017-02-09 12:47:08 +00:00

11 lines
299 B
Perl

--- cvsweb.cgi.orig 2005-09-25 20:28:51 UTC
+++ cvsweb.cgi
@@ -2951,7 +2951,7 @@ sub printLog($$$;$$)
print "<br />\n";
print '<i>';
- if (defined @mytz) {
+ if (@mytz) {
my ($est) = $mytz[(localtime($date{$_}))[8]];
print scalar localtime($date{$_}), " $est</i> (";
} else {