freebsd-ports/devel/lxr/files/patch-use-strict-syntax
Eygene Ryabinkin 6c395d15c9 devel/lxr: upgrade to 0.10.2
Changes:

 - the menus-and-buttons interface is considered mature enough to be
   offered for general release.

 - lxr.conf: new and simpler way of entering the URL of your server
   with 'host_names' 'baseurl' and 'baseurl_aliases' kept for
   compatibility
 - lxr.css: more class'es to fine grained control over display

 - templates: redesigned and new functions added

 - html-ident-refs.html: removed, being integrated into html-ident.html

 - ident and search scripts: results are now presented in tabular form
   for better readability

 - new languages: added JavaScript and Ruby

QA page: http://codelabs.ru/fbsd/ports/qa/devel/lxr/0.10.2
2012-05-06 09:43:49 +00:00

23 lines
535 B
Text

--- a/lib/LXR/Common.pm.orig 2012-03-10 22:34:11.000000000 +0400
+++ b/lib/LXR/Common.pm 2012-03-10 22:33:21.000000000 +0400
@@ -62,9 +62,9 @@
our $identifier;
our $HTTP;
-$wwwdebug = 0;
+my $wwwdebug = 0;
-$tmpcounter = 23;
+my $tmpcounter = 23;
sub warning {
my $msg = shift;
@@ -111,7 +111,7 @@
sub nonvarargs {
my @args;
- foreach my $param (%{keys $HTTP->{'param'}}) {
+ foreach my $param (keys %{$HTTP->{'param'}}) {
next unless $param =~ m!^_!;
my $val = $HTTP->{'param'}->{$param};
if (length($val)) {