Control: tags -1 + patch

On Sun, Jun 05, 2016 at 10:24:11PM +0300, Niko Tyni wrote:
> Building the muttprint package triggers deprecation warnings with Perl
> 5.24 (currently in experimental), and probably with Perl 5.22 (current
> sid) too.
> 
>   Unescaped left brace in regex is deprecated, passed through in regex; 
> marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at 
> /usr/bin/automake-1.11 line 4159.

This issue also affects e.g. src:jamin. The attached patch fixes the
problem. Please consider applying it.

Helmut
diff --minimal -Nru automake1.11-1.11.6/debian/changelog 
automake1.11-1.11.6/debian/changelog
--- automake1.11-1.11.6/debian/changelog        2014-10-20 02:14:05.000000000 
+0200
+++ automake1.11-1.11.6/debian/changelog        2016-12-14 17:07:50.000000000 
+0100
@@ -1,3 +1,10 @@
+automake1.11 (1:1.11.6-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix usage of deprecated regular expression syntax (Closes: #826498)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 14 Dec 2016 17:07:50 +0100
+
 automake1.11 (1:1.11.6-3) unstable; urgency=medium
 
   * debian/copyright: New DEP-5 copyright file.
diff --minimal -Nru automake1.11-1.11.6/debian/patches/826498.diff 
automake1.11-1.11.6/debian/patches/826498.diff
--- automake1.11-1.11.6/debian/patches/826498.diff      1970-01-01 
01:00:00.000000000 +0100
+++ automake1.11-1.11.6/debian/patches/826498.diff      2016-12-14 
17:07:50.000000000 +0100
@@ -0,0 +1,17 @@
+From: Helmut Grohne <hel...@subdivi.de>
+Subject: update deprecated regex syntax
+Bug-Debian: https://bugs.debian.org/826498
+
+Index: automake1.11-1.11.6/automake.in
+===================================================================
+--- automake1.11-1.11.6.orig/automake.in
++++ automake1.11-1.11.6/automake.in
+@@ -4156,7 +4156,7 @@
+ sub substitute_ac_subst_variables ($)
+ {
+   my ($text) = @_;
+-  $text =~ s/\${([^ \t=:+{}]+)}/&substitute_ac_subst_variables_worker ($1)/ge;
++  $text =~ s/\$\{([^ \t=:+{}]+)\}/&substitute_ac_subst_variables_worker 
($1)/ge;
+   return $text;
+ }
+ 
diff --minimal -Nru automake1.11-1.11.6/debian/patches/series 
automake1.11-1.11.6/debian/patches/series
--- automake1.11-1.11.6/debian/patches/series   2014-10-20 02:14:05.000000000 
+0200
+++ automake1.11-1.11.6/debian/patches/series   2016-12-14 17:07:27.000000000 
+0100
@@ -1,3 +1,4 @@
 01-texi-rename.diff
 02-compile_f90_c_cxx-fix.diff
 03-texinfo-fix-itemx.diff
+826498.diff

Reply via email to