diff -Nru automake1.10-1.10.3/debian/changelog automake1.10-1.10.3/debian/changelog --- automake1.10-1.10.3/debian/changelog 2013-09-19 15:49:39.000000000 +0000 +++ automake1.10-1.10.3/debian/changelog 2018-05-03 16:27:59.000000000 +0000 @@ -1,3 +1,11 @@ +automake1.10 (1:1.10.3-3.1+rpi1) buster-staging; urgency=medium + + * Apply fix for new perl + * Debian got rid of this old version of automake a while back but we still + * Need it for our old valgrind. + + -- Peter Michael Green Thu, 03 May 2018 16:27:59 +0000 + automake1.10 (1:1.10.3-3.1) unstable; urgency=low * Non-maintainer upload. diff -Nru automake1.10-1.10.3/debian/patches/perl.diff automake1.10-1.10.3/debian/patches/perl.diff --- automake1.10-1.10.3/debian/patches/perl.diff 1970-01-01 00:00:00.000000000 +0000 +++ automake1.10-1.10.3/debian/patches/perl.diff 2018-05-03 16:27:05.000000000 +0000 @@ -0,0 +1,30 @@ +Taken from https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=tools/automake/patches/010-automake-port-to-Perl-5.22-and-later.patch;h=31b9273d547145e5ecbeaef20a1e82cc9292fdc2;hb=92c80f38cff3c20388f9ac13d5196f2745aeaf77 +Modified by plugwash to apply to debian automake1.10 package. + +From 13f00eb4493c217269b76614759e452d8302955e Mon Sep 17 00:00:00 2001 +From: Paul Eggert +Date: Thu, 31 Mar 2016 16:35:29 -0700 +Subject: [PATCH] automake: port to Perl 5.22 and later + +Without this change, Perl 5.22 complains "Unescaped left brace in +regex is deprecated" and this is planned to become a hard error in +Perl 5.26. See: +http://search.cpan.org/dist/perl-5.22.0/pod/perldelta.pod#A_literal_%22{%22_should_now_be_escaped_in_a_pattern +* bin/automake.in (substitute_ac_subst_variables): Escape left brace. +--- + bin/automake.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: automake1.10-1.10.3/automake.in +=================================================================== +--- automake1.10-1.10.3.orig/automake.in ++++ automake1.10-1.10.3/automake.in +@@ -3829,7 +3829,7 @@ sub substitute_ac_subst_variables_worker + 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 -Nru automake1.10-1.10.3/debian/patches/series automake1.10-1.10.3/debian/patches/series --- automake1.10-1.10.3/debian/patches/series 2013-09-19 15:54:48.000000000 +0000 +++ automake1.10-1.10.3/debian/patches/series 2018-05-03 16:20:54.000000000 +0000 @@ -1,2 +1,3 @@ debian-changes texinfo-fixes.diff +perl.diff