severity 1098356 wishlist
thanks
El 19/2/25 a las 13:23, Adam Sampson escribió:
Package: src:unzip
Version: 6.0-28
Severity: normal
Tags: upstream patch
unzip's hand-written configure script does several tests for the
existence of functions without including the appropriate headers. These
tests will behave incorrectly with later versions of GCC, where missing
prototypes are fatal errors by default.
When I tested this with (non-Debian) GCC 14.2, it caused a build failure
on the "typedef FILE DIR;" line in unix/unix.c, because NO_DIR had been
incorrectly defined.
I've attached a patch that fixes most of the tests -- I don't have a
system with mbschr so I don't know what the headers for that one should
be.
Hello. Thanks for the report.
I believed at first that this would be a fix for Bug #1098043
(ftbfs with GCC-15), but then I realized that debian/rules
does not use the configure script.
Instead, there is a line saying DEFINES = etc etc
which avoids running configure at all.
I'm keeping this open anyway, but we already have 31
different patches in debian/patches, so I prefer not
to add things which are not really necessary.
Thanks.