[libclass-makemethods-perl] 08/11: Add patch from CPAN RT to fix "Unescaped left brace in regex" warnings.
gregor herrmann
gregoa at debian.org
Fri Jun 10 21:27:31 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libclass-makemethods-perl.
commit aa48b6d683d205ffbf97390d1a707c7fb3770365
Author: gregor herrmann <gregoa at debian.org>
Date: Fri Jun 10 22:58:51 2016 +0200
Add patch from CPAN RT to fix "Unescaped left brace in regex" warnings.
Closes: #826476
---
.../patches/Class-MakeMethods-1.01-RT115108.patch | 29 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 30 insertions(+)
diff --git a/debian/patches/Class-MakeMethods-1.01-RT115108.patch b/debian/patches/Class-MakeMethods-1.01-RT115108.patch
new file mode 100644
index 0000000..39403e3
--- /dev/null
+++ b/debian/patches/Class-MakeMethods-1.01-RT115108.patch
@@ -0,0 +1,29 @@
+From 27527ee2c701afa69326dcd2748b2182436c42e9 Mon Sep 17 00:00:00 2001
+From: Slaven Rezic <slaven at rezic.de>
+Date: Wed, 8 Jun 2016 22:47:42 +0200
+Subject: [PATCH] fix for "Unescaped left brace in regex is deprecated" (RT
+ #115108)
+
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=115108
+Bug-Debian: https://bugs.debian.org/826476
+
+---
+ tests/xemulator/class_methodmaker/Test.pm | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/xemulator/class_methodmaker/Test.pm b/tests/xemulator/class_methodmaker/Test.pm
+index fc37552..4ab84ad 100644
+--- a/tests/xemulator/class_methodmaker/Test.pm
++++ b/tests/xemulator/class_methodmaker/Test.pm
+@@ -48,7 +48,7 @@ sub COUNT_TESTS {
+ open(IN, $file) or die "Can't open $file: $!";
+ while (<IN>) {
+ /^\s*#/ and next;
+- $c += s/(TEST\s{)/$1/g;
++ $c += s/(TEST\s\{)/$1/g;
+ }
+ $c;
+ }
+--
+2.1.4
+
diff --git a/debian/patches/series b/debian/patches/series
index 3928105..a614a2c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
fix-pod.patch
+Class-MakeMethods-1.01-RT115108.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libclass-makemethods-perl.git
More information about the Pkg-perl-cvs-commits
mailing list