autoconf: add patch to workaround m4 issue on arm

Should be fixed properly in m4 though. Reported in
https://github.com/termux/termux-packages/issues/7361.
This commit is contained in:
Henrik Grimler 2021-08-19 21:51:19 +02:00
parent de96fc0c8d
commit 1e98960851
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- ./bin/autom4te.in.orig 2021-08-19 21:45:43.203065990 +0200
+++ ./bin/autom4te.in 2021-08-19 21:46:46.779739045 +0200
@@ -94,7 +94,7 @@
my $m4 = $ENV{"M4"} || '@M4@';
# Some non-GNU m4's don't reject the --help option, so give them /dev/null.
fatal "need GNU m4 1.4 or later: $m4"
- if system "$m4 --help </dev/null 2>&1 | grep reload-state >/dev/null";
+ if system "$m4 --help 2>&1 | grep reload-state >/dev/null";
# Set some high recursion limit as the default limit, 250, has already
# been hit with AC_OUTPUT. Don't override the user's choice.

View File

@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Creator of shell scripts to configure source code packag
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.71
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/autoconf/autoconf-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
TERMUX_PKG_DEPENDS="m4, make, perl"