[libconvert-binary-c-perl] 01/07: Patch deprecated usage of unescaped left in regex
Damyan Ivanov
dmn at moszumanska.debian.org
Sun Jun 14 10:32:23 UTC 2015
This is an automated email from the git hooks/post-receive script.
dmn pushed a commit to branch master
in repository libconvert-binary-c-perl.
commit 00b0d523495bd60a9961eace40266c63c9b9758f
Author: Damyan Ivanov <dmn at debian.org>
Date: Sun Jun 14 07:20:51 2015 +0000
Patch deprecated usage of unescaped left in regex
Closes: #787539
---
debian/patches/series | 1 +
debian/patches/unescaped-brace.patch | 15 +++++++++++++++
2 files changed, 16 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index 6d101cd..e0fcc3e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
spelling.patch
0001-Fix-POD-syntax-in-support-Test-Harness-Point.pm.patch
+unescaped-brace.patch
diff --git a/debian/patches/unescaped-brace.patch b/debian/patches/unescaped-brace.patch
new file mode 100644
index 0000000..ae9ea45
--- /dev/null
+++ b/debian/patches/unescaped-brace.patch
@@ -0,0 +1,15 @@
+Description: Unescaped left brace in regex (deprecated in Perl 5.22)
+Author: Damyan Ivanov <dmn at debian.org>
+Forwarded: not-needed (trivial)
+
+--- a/ctlib/arch.pl
++++ b/ctlib/arch.pl
+@@ -89,7 +89,7 @@ sub is_big_endian ()
+
+ sub config ($) {
+ local $_ = shift;
+- s/\${([^}]+)}/$cfg{$1}/g;
++ s/\$\{([^}]+)}/$cfg{$1}/g;
+ print OUT;
+ }
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconvert-binary-c-perl.git
More information about the Pkg-perl-cvs-commits
mailing list