Browse Source

automake: Add patch for perl 5.24 compatibility

android-5
Fredrik Fornwall 8 years ago
parent
commit
3bf8dead7c
  1. 21
      packages/automake/0004-Fix-testsuite-failure-caused-by-perl-warnings.patch
  2. 1
      packages/automake/build.sh

21
packages/automake/0004-Fix-testsuite-failure-caused-by-perl-warnings.patch

@ -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;
}

1
packages/automake/build.sh

@ -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

Loading…
Cancel
Save