The fcgi configure scripts were built with an old autoconf version which uses an implicit declaration of exit. The fcgi upstream site appears to be down (for many years), so it has to be a downstream-only patch.
Created attachment 1924965 [details] fcgi-configure-exit.patch This appears to be the most straightforward fix. It works with libstdc++.
Thanks for doing the work, but could you provide some additional background? I get the general problem behind function declarations: https://stackoverflow.com/questions/9182763/implicit-function-declarations-in-c However, what drove you to address this? I didn't see any build failure notices for this package prior to the patch. Did you just want to remove the warnings that gcc likely was giving during the build, or was there some other, specific issue this addressed? ...or is there an upcoming change to the fedora build environment, such as enforcing C99, which would cause this to fail the build? I am trying to get a better understanding, to determine whether the EPEL branches should receive this patch as well.
It's related to: https://fedoraproject.org/wiki/Changes/PortingToModernC https://fedoraproject.org/wiki/Toolchain/PortingToModernC It's in preparation of a potential change in GCC 14. In a few cases (probably this one), we have to patch packages to silence the reports (which I'm still trying to get off the ground, I'll update the second wiki page once I've got details).
Perfect. Thank you for explaining.
Sorry, I botched my testing and missed another implicit exit declaration. Should be fixed now.