Created attachment 1613525 [details] unzip.patch A future version of GCC will default to C99 and reject implicit function declarations. The custom unix/configure script is not able to deal with this and produces incorrect results due to missing function declarations. A start of patch showing the changes required is attached, but further tweaks are needed.
Porting to C99 is too risky for other targets. I recommend building in C89 mode instead.
Created attachment 1918984 [details] Build with -std=gnu89 Switch GCC to C89 mode. I verified that this does not trigger any implicitness errors (which are expected to be turned on in GCC 14).
FEDORA-2022-335841c79d has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-335841c79d
FEDORA-2022-335841c79d has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.