FreeBSD Bugzilla – Attachment 116823 Details for
Bug 158837
[PATCH] www/awstats: fix breakage under perl5.14
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
awstats-7.0_2,1.patch
awstats-7.0_2,1.patch (text/plain), 1.88 KB, created by
Jase Thew
on 2011-07-12 16:10:10 UTC
(
hide
)
Description:
awstats-7.0_2,1.patch
Filename:
MIME Type:
Creator:
Jase Thew
Created:
2011-07-12 16:10:10 UTC
Size:
1.88 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/www/awstats.orig/Makefile /usr/ports/www/awstats/Makefile >--- /usr/ports/www/awstats.orig/Makefile 2011-02-06 04:11:17.000000000 +0000 >+++ /usr/ports/www/awstats/Makefile 2011-07-12 15:52:32.262443624 +0100 >@@ -7,7 +7,7 @@ > > PORTNAME= awstats > PORTVERSION= 7.0 >-PORTREVISION= 1 >+PORTREVISION= 2 > PORTEPOCH= 1 > CATEGORIES= www > MASTER_SITES= SF/${PORTNAME}/AWStats/${PORTVERSION} >diff -ruN --exclude=CVS /usr/ports/www/awstats.orig/files/patch-wwwroot-cgi-bin-awstats.pl /usr/ports/www/awstats/files/patch-wwwroot-cgi-bin-awstats.pl >--- /usr/ports/www/awstats.orig/files/patch-wwwroot-cgi-bin-awstats.pl 2009-10-30 09:51:20.000000000 +0000 >+++ /usr/ports/www/awstats/files/patch-wwwroot-cgi-bin-awstats.pl 2011-07-12 15:56:34.502216155 +0100 >@@ -1,6 +1,17 @@ >---- wwwroot/cgi-bin/awstats.pl.orig 2009-10-10 08:36:38.000000000 -0400 >-+++ wwwroot/cgi-bin/awstats.pl 2009-10-28 21:33:22.000000000 -0400 >-@@ -3040,7 +3040,7 @@ >+--- wwwroot/cgi-bin/awstats.pl.orig 2011-07-06 08:11:37.000000000 +0100 >++++ wwwroot/cgi-bin/awstats.pl 2011-07-06 08:16:32.000000000 +0100 >+@@ -1353,9 +1353,7 @@ >+ #------------------------------------------------------------------------------ >+ sub OptimizeArray { >+ my $array = shift; >+- my @arrayunreg = map { >+- if (/\(\?[-\w]*:(.*)\)/) { $1 } >+- } @$array; >++ my @arrayunreg = map { UnCompileRegex($_) } @$array; >+ my $notcasesensitive = shift; >+ my $searchlist = 0; >+ if ($Debug) { >+@@ -3049,7 +3047,7 @@ > # Debian package : "/usr/share/awstats/plugins" > my @PossiblePluginsDir = ( > "$DIR/plugins", >@@ -9,3 +20,12 @@ > "/usr/share/awstats/plugins" > ); > my %DirAddedInINC = (); >+@@ -7809,7 +7807,7 @@ >+ # Return: standardregex >+ #------------------------------------------------------------------------------ >+ sub UnCompileRegex { >+- shift =~ /\(\?[-\w]*:(.*)\)/; >++ shift =~ /\(\?[-^\w]*:(.*)\)/; >+ return $1; >+ } >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 158837
: 116823