0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-03-04 09:28:54 +00:00
termux-packages/packages/autoconf/autom4te.in.patch
Henrik Grimler 1e98960851 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.
2021-08-19 21:51:19 +02:00

12 lines
561 B
Diff

--- ./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.