From b56cfa4e11b04589176b38d8f0c93ebb90799207 Mon Sep 17 00:00:00 2001 From: Eygene Ryabinkin Date: Fri, 23 Mar 2012 21:56:22 +0400 Subject: [PATCH] LXR: upgrade to 0.10.2 Signed-off-by: Eygene Ryabinkin --- devel/lxr/Makefile | 2 +- devel/lxr/distinfo | 4 ++-- devel/lxr/files/patch-use-strict-syntax | 23 +++++++++++++++++++++++ devel/lxr/files/pkg_message.in | 8 ++++++++ devel/lxr/pkg-plist | 7 ++++--- 5 files changed, 38 insertions(+), 6 deletions(-) create mode 100644 devel/lxr/files/patch-use-strict-syntax diff --git a/devel/lxr/Makefile b/devel/lxr/Makefile index e7dce5d..4006ff8 100644 --- a/devel/lxr/Makefile +++ b/devel/lxr/Makefile @@ -6,7 +6,7 @@ # PORTNAME= lxr -PORTVERSION= 0.9.10 +PORTVERSION= 0.10.2 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION} EXTRACT_SUFX= .tgz diff --git a/devel/lxr/distinfo b/devel/lxr/distinfo index 648be5e..3155323 100644 --- a/devel/lxr/distinfo +++ b/devel/lxr/distinfo @@ -1,2 +1,2 @@ -SHA256 (lxr-0.9.10.tgz) = dbbad73ebde6ea734b5bc299cfe7545a5b371e62cdff0605691e7f0498b6ca18 -SIZE (lxr-0.9.10.tgz) = 115993 +SHA256 (lxr-0.10.2.tgz) = 109b8d21f804cd18b27f9cd304b0bd45af8d492650800b83dcbca6d949d97ee6 +SIZE (lxr-0.10.2.tgz) = 138193 diff --git a/devel/lxr/files/patch-use-strict-syntax b/devel/lxr/files/patch-use-strict-syntax new file mode 100644 index 0000000..e5e74e2 --- /dev/null +++ b/devel/lxr/files/patch-use-strict-syntax @@ -0,0 +1,23 @@ +--- 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)) { diff --git a/devel/lxr/files/pkg_message.in b/devel/lxr/files/pkg_message.in index 35f9754..edf20e8 100644 --- a/devel/lxr/files/pkg_message.in +++ b/devel/lxr/files/pkg_message.in @@ -23,6 +23,14 @@ You should look at the contents of the directory and possibly merge new stuff from it to the corresponding files in %%LXRDIR%%/ +0.9.x -> 0.10.x +=============== + +Search templates were changed, be sure to look at the files + %%LXRDIR%%/templates/html-ident.html + %%LXRDIR%%/templates/html-search-swish.html + %%LXRDIR%%/templates/html-search-glimpse.html + Happy cross-referencing and code mining! diff --git a/devel/lxr/pkg-plist b/devel/lxr/pkg-plist index 674073c..4e7b094 100644 --- a/devel/lxr/pkg-plist +++ b/devel/lxr/pkg-plist @@ -8,13 +8,12 @@ %%LXRDIR%%/initdb-mysql %%LXRDIR%%/upgrade-0.9.10-postgres %%LXRDIR%%/upgrade-0.9.10-mysql -%%LXRDIR%%/templates/html-head-btn.html %%LXRDIR%%/templates/valid-html401.png -%%LXRDIR%%/templates/diff-head-btn.html +%%LXRDIR%%/templates/vcss +%%LXRDIR%%/templates/html-head-btn.html %%LXRDIR%%/templates/html-fatal.html %%LXRDIR%%/templates/html-dir.html %%LXRDIR%%/templates/html-head.html -%%LXRDIR%%/templates/html-ident-refs.html %%LXRDIR%%/templates/html-ident.html %%LXRDIR%%/templates/html-search-glimpse.html %%LXRDIR%%/templates/html-search-swish.html @@ -39,8 +38,10 @@ %%SITE_PERL%%/LXR/Files.pm %%SITE_PERL%%/LXR/Index.pm %%SITE_PERL%%/LXR/Lang.pm +%%SITE_PERL%%/LXR/Markup.pm %%SITE_PERL%%/LXR/SimpleParse.pm %%SITE_PERL%%/LXR/Tagger.pm +%%SITE_PERL%%/LXR/Template.pm %%SITE_PERL%%/LXR/Index/Mysql.pm %%SITE_PERL%%/LXR/Index/DBI.pm %%SITE_PERL%%/LXR/Index/Oracle.pm -- 1.7.9.4