Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/external/gpl2
Module Name: src
Committed By: mrg
Date: Fri Jan 2 20:09:12 UTC 2026
Modified Files:
src/external/gpl2/gmake/dist: ar.c configure getopt.c getopt.h
getopt1.c main.c
src/external/gpl2/gmake/dist/glob: fnmatch.c
src/external/gpl2/groff/dist/src/libs/libgroff: getopt.c
Log Message:
more updates for modern compilers / C versions.
ar_scan() takes a "void *" for both it's last arg, and the func's
last arg. adjust some callbacks to cope without casts.
in configure, use return instead of exit(3) to avoid wanting stdlib.h.
if wanting a void signal retsigtype, use the right function (XXX, maybe
just give up and remove all this now in 2026.)
remove checks for __GNU_LIBRARY__ before including stdlib.h or unistd.h,
so that valid prototypes are enabled, and remove incomplete prototypes
for them from these sources (eg, getenv(), getopt(), errno.)
avoid using bsd_signal entirely as a name, by defining it to
gmake_bsd_signal() after including signal.h.
fixes builds for me on netbsd using GCC 12, 14, and 15.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl2/gmake/dist/ar.c \
src/external/gpl2/gmake/dist/getopt.c \
src/external/gpl2/gmake/dist/getopt.h \
src/external/gpl2/gmake/dist/getopt1.c
cvs rdiff -u -r1.3 -r1.4 src/external/gpl2/gmake/dist/configure
cvs rdiff -u -r1.2 -r1.3 src/external/gpl2/gmake/dist/main.c
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl2/gmake/dist/glob/fnmatch.c
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/gpl2/groff/dist/src/libs/libgroff/getopt.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index