[libanyevent-connection-perl] 01/01: add patch fixing syntax error in regular expression with perl 5.18 Closes: #711425

Damyan Ivanov dmn at alioth.debian.org
Mon Sep 2 20:54:57 UTC 2013


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

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

commit a96164f52fd646f3a252f6b8fcb7107ec66d1add
Author: Damyan Ivanov <dmn at debian.org>
Date:   Mon Sep 2 23:54:01 2013 +0300

    add patch fixing syntax error in regular expression with perl 5.18 Closes: #711425
---
 debian/changelog                    |    5 +++++
 debian/patches/perl5.18-fixes.patch |   18 ++++++++++++++++++
 debian/patches/series               |    1 +
 3 files changed, 24 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 713aebe..5fdbd55 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,13 @@
 libanyevent-connection-perl (0.06-2) UNRELEASED; urgency=low
 
+  [ Salvatore Bonaccorso ]
   * Change Vcs-Git to canonical URI (git://anonscm.debian.org)
   * Change search.cpan.org based URIs to metacpan.org based URIs
 
+  [ Damyan Ivanov ]
+  * add patch fixing syntax error in regular expression with perl 5.18
+    Closes: #711425
+
  -- Salvatore Bonaccorso <carnil at debian.org>  Sun, 06 Jan 2013 21:56:50 +0100
 
 libanyevent-connection-perl (0.06-1) unstable; urgency=low
diff --git a/debian/patches/perl5.18-fixes.patch b/debian/patches/perl5.18-fixes.patch
new file mode 100644
index 0000000..424dc13
--- /dev/null
+++ b/debian/patches/perl5.18-fixes.patch
@@ -0,0 +1,18 @@
+Description: fix RE syntax error with perl 5.18
+ curly brackets need no escaping unless they form {a,b} notion
+Author: Damyan Ivanov <dmn at debian.org>
+Bug: https://rt.cpan.org/Ticket/Display.html?id=85967
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711425
+Forwarded: yes
+
+--- a/lib/AnyEvent/Connection/Util.pm
++++ b/lib/AnyEvent/Connection/Util.pm
+@@ -29,7 +29,7 @@ sub dumper (@) {
+ 			->Useqq(1)
+ 			->Quotekeys(0)
+ 			->Dump;
+-		$s =~ s{\\x\{([a-f0-9]{1,4})\}}{chr hex $1}sge;
++		$s =~ s{\\x{([a-f0-9]{1,4})}}{chr hex $1}sge;
+ 		$s;
+ 	};
+ 	goto &{ caller().'::dumper' };
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ecf32ed
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+perl5.18-fixes.patch

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



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