diff options
author | Daichi GOTO <daichi@FreeBSD.org> | 2003-10-15 07:50:35 +0000 |
---|---|---|
committer | Daichi GOTO <daichi@FreeBSD.org> | 2003-10-15 07:50:35 +0000 |
commit | bf6b384902cdd2d18d5328c709e2c8bac8f2e64c (patch) | |
tree | 68e43e334fc69e45feec99c400fbc7b1200596f2 /www/p5-CGI-Kwiki/files | |
parent | Mark broken on 4.x due to gcc295 incompatibilities. (diff) |
update www/p5-CGI-Kwiki: 0.18 -> 0.18_1
- add RUN_DEPENDS with p5-Locale-Maketext
- add EXTRA_PATCHES with PERL_LEVEL < 5.00601
PR: 58043
Submitted by: Cheng-Lung Sung <clsung@dragon2.net> (maintainer)
Notes
Notes:
svn path=/head/; revision=91294
Diffstat (limited to 'www/p5-CGI-Kwiki/files')
-rw-r--r-- | www/p5-CGI-Kwiki/files/p5005-patch-CGI-Kwiki-Template.pm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/www/p5-CGI-Kwiki/files/p5005-patch-CGI-Kwiki-Template.pm b/www/p5-CGI-Kwiki/files/p5005-patch-CGI-Kwiki-Template.pm new file mode 100644 index 000000000000..23bf24573e53 --- /dev/null +++ b/www/p5-CGI-Kwiki/files/p5005-patch-CGI-Kwiki-Template.pm @@ -0,0 +1,12 @@ +--- lib/CGI/Kwiki/Template.pm.orig Fri Aug 29 09:30:19 2003 ++++ lib/CGI/Kwiki/Template.pm Wed Oct 15 11:37:23 2003 +@@ -71,7 +71,8 @@ + my ($self, $text, $v) = @_; + my $re; + $text = $self->loc($text); +- $re = qr/\[((?:(?>[^\[\]]+)|(??{$re}))*)\]/; ++ #$re = qr/\[((?:(?>[^\[\]]+)|(??{$re}))*)\]/; ++ $re = qr/\[((?:(?>[^\[\]]+)|\[[^\[\]]*\])*)\]/; + $text =~ s{$re} + {<a href="[% script %]?$1">$1</a>}g; + $text =~ s{\[%\s+(\w+)\s+%\]\n?} |