[libtime-olsontz-download-perl] 01/02: Fix regexp syntax for Perl 5.22

Niko Tyni ntyni at moszumanska.debian.org
Sun Dec 27 20:15:59 UTC 2015


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

ntyni pushed a commit to branch master
in repository libtime-olsontz-download-perl.

commit effbc2f5001791b829181e8db52fe961d77d3619
Author: Niko Tyni <ntyni at debian.org>
Date:   Sun Dec 27 21:26:24 2015 +0200

    Fix regexp syntax for Perl 5.22
    
    Closes: #809108
---
 .../0001-Fix-regexp-syntax-for-Perl-5.22.patch     | 29 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 30 insertions(+)

diff --git a/debian/patches/0001-Fix-regexp-syntax-for-Perl-5.22.patch b/debian/patches/0001-Fix-regexp-syntax-for-Perl-5.22.patch
new file mode 100644
index 0000000..aaf9fd1
--- /dev/null
+++ b/debian/patches/0001-Fix-regexp-syntax-for-Perl-5.22.patch
@@ -0,0 +1,29 @@
+From 5c2231bdf863d48a1c3034239bb689f9d452dc6d Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni at debian.org>
+Date: Sun, 27 Dec 2015 21:26:24 +0200
+Subject: [PATCH] Fix regexp syntax for Perl 5.22
+
+Unescaped left brace in regex is deprecated, passed through in regex
+
+Bug-Debian: https://bugs.debian.org/809108
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=110676
+---
+ lib/Time/OlsonTZ/Download.pm | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/Time/OlsonTZ/Download.pm b/lib/Time/OlsonTZ/Download.pm
+index 1fc64a7..e66c59f 100644
+--- a/lib/Time/OlsonTZ/Download.pm
++++ b/lib/Time/OlsonTZ/Download.pm
+@@ -711,7 +711,7 @@ sub _ensure_standard_zonenames {
+ 			\nzonenames:[\ \t]+\$\(TDATA\)[\ \t]*\n
+ 			\t[\ \t]*\@\$\(AWK\)\ '
+ 			/\^Zone/\ \{\ print\ \$\$2\ \}
+-			\ /\^Link/\ {\ print\ \$\$3\ }
++			\ /\^Link/\ \{\ print\ \$\$3\ }
+ 			'\ \$\(TDATA\)[\ \t]*\n\n
+ 		#x);
+ 	}
+-- 
+2.6.4
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..bd90738
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Fix-regexp-syntax-for-Perl-5.22.patch

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



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