diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2022-10-01 12:11:01 +0200 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2022-10-01 12:12:09 +0200 |
commit | 3e147a1f594751a68fea00a28090d0792bee0b51 (patch) | |
tree | c91cdc76aa92320c248a0a16beb953e89cdcaed9 /shells/bash/files/patch-m4_strtoimax.m4 | |
parent | audio/din: Update to 55 (diff) |
shells/bash: fix static build
The logic in m4/strtoimax.m4 is inverted: it replaces strtoimax() if and only
if it is present and functional.
files/patch-configure avoids having to run autoreconf in the port and can be
removed once the fix has been adopted upstream.
differential Revision: https://reviews.freebsd.org/D36849
Diffstat (limited to 'shells/bash/files/patch-m4_strtoimax.m4')
-rw-r--r-- | shells/bash/files/patch-m4_strtoimax.m4 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/shells/bash/files/patch-m4_strtoimax.m4 b/shells/bash/files/patch-m4_strtoimax.m4 new file mode 100644 index 000000000000..3c047bd97654 --- /dev/null +++ b/shells/bash/files/patch-m4_strtoimax.m4 @@ -0,0 +1,11 @@ +--- m4/strtoimax.m4.orig 2022-04-11 20:31:52 UTC ++++ m4/strtoimax.m4 +@@ -29,7 +29,7 @@ AC_CACHE_VAL(bash_cv_func_strtoimax, + fi + ]) + AC_MSG_RESULT($bash_cv_func_strtoimax) +-if test $bash_cv_func_strtoimax = yes; then ++if test $bash_cv_func_strtoimax = no; then + AC_LIBOBJ(strtoimax) + fi + ]) |