automake: Add patch for perl 5.24 compatibility
authorFredrik Fornwall <fredrik@fornwall.net>
Sat, 25 Feb 2017 20:29:42 +0000 (21:29 +0100)
committerFredrik Fornwall <fredrik@fornwall.net>
Sat, 25 Feb 2017 20:29:42 +0000 (21:29 +0100)
packages/automake/0004-Fix-testsuite-failure-caused-by-perl-warnings.patch [new file with mode: 0644]
packages/automake/build.sh

diff --git a/packages/automake/0004-Fix-testsuite-failure-caused-by-perl-warnings.patch b/packages/automake/0004-Fix-testsuite-failure-caused-by-perl-warnings.patch
new file mode 100644 (file)
index 0000000..d10eb07
--- /dev/null
@@ -0,0 +1,21 @@
+From: Matthias Klose <doko@ubuntu.com>
+Date: Sat, 13 Feb 2016 13:44:56 -0500
+Subject: Fix testsuite failure, caused by perl warnings
+
+---
+ bin/automake.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bin/automake.in b/bin/automake.in
+index eedc8bc..a679d16 100644
+--- a/bin/automake.in
++++ b/bin/automake.in
+@@ -3878,7 +3878,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;
+ }
index ede115c..35ce3b4 100644 (file)
@@ -1,6 +1,7 @@
 TERMUX_PKG_HOMEPAGE=http://www.gnu.org/software/automake/
 TERMUX_PKG_DESCRIPTION="Tool for automatically generating Makefile.in files"
 TERMUX_PKG_VERSION=1.15
+TERMUX_PKG_REVISION=1
 TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/automake/automake-${TERMUX_PKG_VERSION}.tar.xz
 TERMUX_PKG_DEPENDS="autoconf"
 TERMUX_PKG_PLATFORM_INDEPENDENT=yes