[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patchlevel 10 incompatible with --enable-minimal-config
From: |
Chet Ramey |
Subject: |
Re: Patchlevel 10 incompatible with --enable-minimal-config |
Date: |
Tue, 30 Nov 2021 10:50:42 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 |
On 11/29/21 1:47 PM, Joel Ebel via Bug reports for the GNU Bourne Again
SHell wrote:
> After applying patchlevel 10 to bash 5.1, I can no longer compile it with
> --enable-minimal-config applied to the configure script. It returns the
> following error:
>
> /usr/bin/ld: ./builtins/libbuiltins.a(wait.o): in function `wait_builtin':
> /home/jbebel/bash/builtins/./wait.def:185: undefined reference to
> `unset_waitlist'
Here's a patch:
*** ../bash-5.1-patched/builtins/wait.def 2021-11-17 16:29:28.000000000
-0500
--- builtins/wait.def 2021-11-30 10:21:57.000000000 -0500
***************
*** 182,187 ****
--- 188,195 ----
status = 128 + wait_signal_received;
wait_sigint_cleanup ();
+ #if defined (JOB_CONTROL)
if (wflags & JWAIT_WAITING)
unset_waitlist ();
+ #endif
WAIT_RETURN (status);
}
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/