[libmojomojo-perl] 01/03: add patch from pull request #120 removing the space before the initial '?' in RE, causing warnings with current perl

Damyan Ivanov dmn at moszumanska.debian.org
Tue May 20 06:13:21 UTC 2014


This is an automated email from the git hooks/post-receive script.

dmn pushed a commit to branch master
in repository libmojomojo-perl.

commit 09b03cab193080c60ef07bcf44e2a126ef1f5c09
Author: Damyan Ivanov <dmn at debian.org>
Date:   Tue May 20 06:06:18 2014 +0000

    add patch from pull request #120 removing the space before the initial '?' in RE, causing warnings with current perl
---
 debian/patches/no-initial-qmark-split.patch | 17 +++++++++++++++++
 debian/patches/series                       |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/no-initial-qmark-split.patch b/debian/patches/no-initial-qmark-split.patch
new file mode 100644
index 0000000..7798fd9
--- /dev/null
+++ b/debian/patches/no-initial-qmark-split.patch
@@ -0,0 +1,17 @@
+Description: Splitting the initial '(?' is deprecated in regex
+ Without this there is a warning on every request and all over the testsuite
+Author: Soren Dossing <https://github.com/sauber>
+Bug: https://github.com/mojomojo/mojomojo/pull/120
+Reviewed-By: Damyan Ivanov <dmn at debian.org>
+
+--- a/lib/MojoMojo/Formatter/Wiki.pm
++++ b/lib/MojoMojo/Formatter/Wiki.pm
+@@ -83,7 +83,7 @@ sub _generate_non_wikiword_check {
+     # but why the question mark ('\?') at the end?
+     my $non_wikiword_chars =
+         ( join '', _explicit_start_delims() ) . $wikiword_escape . '\/' . '\?';
+-    return qr{( ?<! [$non_wikiword_chars] )}x;
++    return qr{(?<! [$non_wikiword_chars] )}x;
+ }
+ 
+ my $non_wikiword_check = _generate_non_wikiword_check();
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f1aea6c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+no-initial-qmark-split.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmojomojo-perl.git



More information about the Pkg-perl-cvs-commits mailing list