- replaiced with local die() and dieperror() routines). Use ANSI
prototypes (no dependance on the __P() macro). Add new fwrite_be_offt()
function which writes out a big-endian 64bit number regards of the size
of off_t on the host machine. Remove unused unctrl() function.
Now builds correct fortune .dat files on non-NetBSD machines as well
- tested on Ultrix and Solaris (but Solaris needs -lsocket to get
htonl()).
the games.
This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).
Most noreturn attributes were previously added in bin/6144, with some
others that were missed then in bin/8082. Previous `unused'
attributes were covered in bin/6557, bin/8058 and other PRs (all these
PRs have already been handled and closed).
This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).
Some such changes were previously covered in PRs bin/6041, bin/6146,
bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994,
bin/8039, bin/8057 and bin/8093.
the stored the same regardess of the byte order of the generating
host.
Note in the strfile(8) man page that all fields are big-endian, not
in network byte order.
* Have 'fake' options for all offensive fortune files (fortunes2-o and
limerick moved to fortunes2-o.real and limerick.real via repository copy).
* build all offensive fortune data files, etc., in the same way.
* Have installation of offensive fortunes controlled by one make variable.
To disable build/install of offensive fortunes, set
INSTALL_OFFENSIVE_FORTUNES to anything other than "YES" on the make
command line, in bsd.own.mk, or in /etc/mk.conf or your ${MAKECONF} file.
(If changing the setting, you should 'make clean' here and rebuild
the fortunes before installing.)
* Don't use variables that bsd.prog.mk thinks have certain meanings.