Control: tags -1 + patch

Attached debdiff for an NMU (rstatd 4.0.1-12.1) fixing the GCC 15 FTBFS.

Under C23, an empty parameter list '()' means '(void)'. Several K&R-
style declarations in this package therefore declared zero-argument
functions, conflicting with their real prototypes. Four patches:
    * 06-fix-ftbfs-gcc15-rup.patch — rup.c: drop K&R 'void bzero();
void bcopy(); char *rindex();' and include <strings.h>.
   * 07-fix-ftbfs-gcc15-rsysinfo.patch — same fix in rsysinfo.c.
   * 08-fix-ftbfs-gcc15-rstat_main.patch — rstat_main.c: drop the
redundant K&R declaration of rstat_service (rstat_proc.h has the
correct prototype), update test_connect declaration, and change
cleanup() to take 'int sig' for signal()-handler compatibility.
   * 09-fix-ftbfs-gcc15-rstat_proc.patch — rstat_proc.c: update
test_connect() definition to take 'int sig' to match.
Note: the bug report quotes only the rup.c errors, but the build also
fails in rstat_main.c and rstat_proc.c once those are fixed (make
stops at the first failure). The submitted NMU addresses all of them.
Built cleanly in a sid amd64 sbuild chroot. The only lintian error
('alien-tag source-contains-CVS-dir' in
debian/source/lintian-overrides) is pre-existing and unrelated to this
NMU.

Attachment: rstatd-1097808.debdiff
Description: Binary data

Reply via email to