On 9/21/20 11:13 AM, Adam Stewart wrote:
> Thanks Chet,
>
> When I apply your patch it solves the string.h issue but now I see an issue
> with _stdio.h:
[...]
>
> Do you have a patch for this as well?
I have a combined patch. You can apply the second hunk.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/
*** ../bash-5.0-patched/aclocal.m4 2018-12-05 09:31:34.000000000 -0500
--- aclocal.m4 2020-09-21 09:23:20.000000000 -0400
***************
*** 301,305 ****
AC_CACHE_VAL(bash_cv_have_strsignal,
[AC_TRY_LINK([#include <sys/types.h>
! #include <signal.h>],
[char *s = (char *)strsignal(2);],
bash_cv_have_strsignal=yes, bash_cv_have_strsignal=no)])
--- 301,306 ----
AC_CACHE_VAL(bash_cv_have_strsignal,
[AC_TRY_LINK([#include <sys/types.h>
! #include <signal.h>
! #include <string.h>],
[char *s = (char *)strsignal(2);],
bash_cv_have_strsignal=yes, bash_cv_have_strsignal=no)])
***************
*** 4069,4072 ****
--- 4070,4074 ----
[AC_TRY_RUN([
#include <stdio.h>
+ #include <stdlib.h>
main()