diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-29 07:16:53 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-29 07:31:44 +0000 |
commit | 5f0443a23cbf65da480fd8d27280894e13979457 (patch) | |
tree | 520bdc32d3fc8f811f17ed3ac2c10afd33453301 /testing/perl-template-toolkit/split_pattern.patch | |
parent | f93fa699cebf5bb79fdfbf63db3e5c8c1c3dad23 (diff) | |
download | aports-5f0443a23cbf65da480fd8d27280894e13979457.tar.bz2 aports-5f0443a23cbf65da480fd8d27280894e13979457.tar.xz |
testing/perl-template-toolkit: upgrade to 2.26
Diffstat (limited to 'testing/perl-template-toolkit/split_pattern.patch')
-rw-r--r-- | testing/perl-template-toolkit/split_pattern.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/testing/perl-template-toolkit/split_pattern.patch b/testing/perl-template-toolkit/split_pattern.patch deleted file mode 100644 index b0b1152e48..0000000000 --- a/testing/perl-template-toolkit/split_pattern.patch +++ /dev/null @@ -1,31 +0,0 @@ -https://rt.cpan.org/Public/Bug/Display.html?id=84778 - ---- a/lib/Template/VMethods.pm 2012-02-07 09:06:38.000000000 +0000 -+++ b/lib/Template/VMethods.pm 2013-04-22 16:58:34.000000000 +0000 -@@ -261,12 +261,12 @@ - - if (defined $limit) { - return [ defined $split -- ? split($split, $str, $limit) -+ ? split("(?:)".$split, $str, $limit) - : split(' ', $str, $limit) ]; - } - else { - return [ defined $split -- ? split($split, $str) -+ ? split("(?:)".$split, $str) - : split(' ', $str) ]; - } - } ---- a/lib/Template/Plugin/String.pm 2011-12-20 07:41:35.000000000 +0000 -+++ b/lib/Template/Plugin/String.pm 2013-04-22 16:55:36.000000000 +0000 -@@ -363,7 +363,7 @@ - my $split = CORE::shift; - my $limit = CORE::shift || 0; - $split = '\s+' unless defined $split; -- return [ split($split, $self->{ text }, $limit) ]; -+ return [ split("(?:)".$split, $self->{ text }, $limit) ]; - } - - - |