automake: Add patch for perl 5.24 compatibility
[termux-packages] / packages / automake / 0004-Fix-testsuite-failure-caused-by-perl-warnings.patch
1 From: Matthias Klose <doko@ubuntu.com>
2 Date: Sat, 13 Feb 2016 13:44:56 -0500
3 Subject: Fix testsuite failure, caused by perl warnings
4
5 ---
6 bin/automake.in | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9 diff --git a/bin/automake.in b/bin/automake.in
10 index eedc8bc..a679d16 100644
11 --- a/bin/automake.in
12 +++ b/bin/automake.in
13 @@ -3878,7 +3878,7 @@ sub substitute_ac_subst_variables_worker
14 sub substitute_ac_subst_variables
15 {
16 my ($text) = @_;
17 - $text =~ s/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
18 + $text =~ s/\$\{([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
19 return $text;
20 }
21