Commit Graph

246 Commits

Author SHA1 Message Date
jwise 3626a95b76 fix tyop 2000-02-27 05:40:36 +00:00
pooka 8ef8262b5d NetBSD: We come in peace. We offer reliability.
+ correct a typo
2000-02-15 13:56:02 +00:00
pooka e287a2d6fa NetBSD: We don't negotiate with terrorists. 2000-02-12 10:12:58 +00:00
pooka e74bc9575e Add Chris Baird's email address per his request 2000-02-10 13:10:43 +00:00
pooka 022eb906f9 Add NetBSD slogans for fortune database. 2000-02-06 11:59:29 +00:00
mycroft 615ac255bd More .mk file fallout. *sigh* 2000-01-23 22:10:52 +00:00
mycroft 58b54f196f Get the build ordering right for dependall. 2000-01-23 22:10:22 +00:00
jsm 0bd979e6bf Remove unnecessary casts, and add necessary ones for printf arguments. 2000-01-13 16:22:10 +00:00
jsm f7bce06e2e Change __GCC__ to __GNUC__. 2000-01-13 16:20:27 +00:00
jsm 993c7bf2ac Remove obsolete NO_VOID conditional. 2000-01-13 16:19:36 +00:00
simonb c3a7361d5d Don't use any NetBSD specific features (<err.h> and friends mainly
- 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()).
1999-12-30 01:32:33 +00:00
simonb f6c35735cd No need to include <sys/endian.h> here - <sys/types.h> includes
<machine/endian.h> which DTRT.
1999-12-30 01:26:44 +00:00
mason 75eb02cdfc Removed someone's personal phone number, including area code, from a "if you
want a good time, call ###-###-####" fortune entry.
1999-12-11 19:13:05 +00:00
jsm 49bc28122f Fix a gcc -W warning (empty body in an else-statement). 1999-12-07 23:07:39 +00:00
drochner 85cbf55d16 Since our gcc doesn't warn about NULL format strings anymore, we can
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
1999-11-09 15:06:30 +00:00
jsm 157087a683 Use macro NAMLEN rather than dirent->d_namlen, for easier portability. 1999-09-22 18:56:32 +00:00
tron b137d2d602 Remove generated file "limerick-o" in "clean" target. 1999-09-21 16:34:51 +00:00
jsm 20e3305006 Fix -Wsign-compare warnings. 1999-09-18 19:38:46 +00:00
hwr 435463f6cb Split limericks into "normal" and "offensive" ones.
Fixes PR 6202 by Matthias Grutzeck <grut@teco.edu>.
1999-09-12 10:15:46 +00:00
hwr 2abe3ab9b5 These fortunes conatain offensive language.
These were originally unamerican.{fake,real}
Part of the work on PR 6202.
1999-09-12 10:06:21 +00:00
hwr 81dda5dccb Moved to unamerican.real-o 1999-09-12 09:57:50 +00:00
hwr 8d799a73e4 Moved to unamerican.fake-o 1999-09-12 09:54:25 +00:00
jsm 18c51c04de Check for write errors in auxiliary programs used during build of games. 1999-09-10 00:18:20 +00:00
jsm 2b25de3a90 Include <time.h> in various places in the games where time() or time_t
are used.
1999-09-09 17:30:17 +00:00
simonb 0012c0940d Remove extra blank line in copyright. 1999-09-09 06:30:10 +00:00
jsm 5fb18dd9da Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in
the games.
1999-09-08 21:57:16 +00:00
jsm b03d4fa882 Add `__noreturn__' and `__unused__' attributes where appropriate to
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).
1999-09-08 21:45:25 +00:00
jsm 092d313019 Add use of `const' where appropriate to 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).

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.
1999-09-08 21:17:44 +00:00
simonb 87500c939d Use new endian-specific conversion macros - 64-bit off_t's are now
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.
1999-08-21 07:02:46 +00:00
simonb 299578ebd5 Spell "privilege" correctly (correct spelling from Jonathan Stone). 1999-08-16 02:59:22 +00:00
thorpej a451d97336 Fortunes from those Unamerican Activities bumper stickers you see on
mountain bikes owned by Gen-X'ers.
1999-08-04 22:45:09 +00:00
garbled d1407362ba More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:43:46 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
pk f16cf517fe typo. 1998-12-05 21:09:23 +00:00
jwise ca027085f0 Fix spelling of `Churchill' in 3 places 1998-11-20 03:35:31 +00:00
lukem b569ddabe9 don't install in /usr/share if NOSHARE is defined 1998-09-29 07:33:20 +00:00
hubertf 1c9494f62b mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-13 15:27:25 +00:00
frueauf 6d6da27a53 Correct attribution as pointed out in pr 6114 by Jim Wise. 1998-09-12 22:49:12 +00:00
veego 04afeca685 Add braces to make the new egcs happy. 1998-08-30 09:19:36 +00:00
christos 2fed16a1b1 Add regexp support; remove -lcompat, use err*, warn* 1998-02-04 10:16:19 +00:00
perry 2a4f7becd8 4.4BSD -> .Bx 4.4 1998-02-03 20:45:00 +00:00
lukem 43e8208cc2 use CPPFLAGS instead of CFLAGS, fix dependancies for parallel compile 1997-10-22 04:56:11 +00:00
mycroft 15de1c9fd2 Use S_IS*(), not S_IF*. 1997-10-19 17:54:18 +00:00
lukem 9f3003730a deprecate auto 1997-10-12 14:17:27 +00:00
lukem 93ada1d83c WARNSify 1997-10-11 07:59:09 +00:00
lukem 2169b302cc WARNSify, deprecate register 1997-10-11 07:48:58 +00:00
lukem 3c70a27d72 WARNSify 1997-10-10 13:04:33 +00:00
mikel b62af4ea5e don't xref obsolete regcmp(3) 1997-07-16 06:59:59 +00:00
mycroft 6e0450c70f Use proginstall:: to disable installing PROG. 1997-05-07 15:59:08 +00:00
mycroft fd8daf980e Add .MAKE to the .OBJDIR hacks, so they work with `make -n'. 1997-05-07 07:15:34 +00:00
thorpej 95aa825045 Allow this to be cross-compiled (in a manner consistent with boggle's
host-only helper programs).
1997-04-28 23:53:25 +00:00
thorpej ae4c6aad10 Go into the "strfile" subdirectory unconditionally; we let that Makefile
make it's own decisions.
1997-04-28 23:52:50 +00:00
christos d59123b39b - Makefile cleanups 1997-03-24 22:15:37 +00:00
mikel 3a7d2a7457 eliminate mismatched quote char 1997-03-14 06:48:14 +00:00
mouse 412433b44c alternate -> alternative, per PR 2643 1997-03-08 13:26:20 +00:00
mikel 2e5a49b4b6 fix typo in Napoleon's name 1997-01-23 06:06:29 +00:00
cgd 4f6d05e9a2 Clean this up, and be more consistent:
* 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.
1996-12-23 01:14:34 +00:00
tls ba62612dc1 Oy Gevalt, incorrect meter! 1996-11-23 10:40:50 +00:00
thorpej 871c9c08af Use ${INSTALL}. 1996-10-18 02:37:51 +00:00
christos cf79e593b5 <machine/endian.h> -> <sys/types.h> 1996-10-13 00:01:05 +00:00
pk bcf752fc71 Remove duplicate (and inaccurate) citation. Update the remaining one to be
even more accurate.
1996-06-02 22:02:36 +00:00
jtc c8ddd8b92e Use tr instead of caesar to generate fortunes-o 1996-02-29 00:21:16 +00:00
christos 99fc0f40d9 Parallel make fixes 1995-10-22 21:04:42 +00:00
pk 3072291705 Correct typos noted by Mike Long; PR#1654. 1995-10-22 20:44:11 +00:00
jtc 740f05b08b fix typo: new -> knew 1995-07-17 06:23:06 +00:00
pk e2db3a63c7 Use `install -c'. 1995-06-26 21:59:39 +00:00
cgd c4816c32b3 Various changes to make games compile w/o warnings on the alpha:
Include appropriate includes, delete bogus function declarations,
change sizes of variables and casts.
1995-04-24 12:21:37 +00:00
cgd 0414a14338 clean more cruft; fix up to build the way CSRG now intends 1995-04-22 07:19:03 +00:00
cgd f93c8f50f4 kill these; no longer necessary or appropriate. 1995-04-22 07:12:19 +00:00
cgd 42fb1b9d4a merge with Lite, new RCS id conventions, etc. 1995-03-23 08:28:00 +00:00
cgd b6cfa5b154 from Lite 1995-03-21 15:48:18 +00:00
cgd c4c01d75b2 specify man pages the new way. 1994-12-22 09:31:26 +00:00
cgd b4da561c15 kiil bogus install -d's 1994-02-10 02:31:32 +00:00
cgd 6bfe384d92 fix 'make' biff. from Roland McGrath 1994-01-24 18:39:52 +00:00
pk be7657d720 Use .OBJDIR for auxiliary programs. 1994-01-04 21:40:31 +00:00
jtc 67a17b53b4 Use <dirent.h> instead of <sys/dir.h>. 1993-12-04 02:19:49 +00:00
jtc 8f83a67681 Link with -lcompat instead of -lgnuregex.
As soon as POSIX regular expressions are integrated into libc, -lgnuregex
will be going away.  Fortune use the old re_comp() & re_exec() regex
routines that are provided by -lcompat.
1993-11-11 01:01:21 +00:00
jtc 8e72576bc2 Always use `install -d' to make sure destination directory exists & has
correct ownership and permissions.
1993-09-30 23:57:08 +00:00
jtc c63e7d82bc Drip -DNO_REGEX, Link with -lgnuregex. 1993-08-05 02:16:36 +00:00
jtc 61523efa72 Convert to -mandoc macros. 1993-08-05 02:15:58 +00:00
mycroft 8e99f20a79 Shouldn't use NOMAN here. We have a man page, even if we don't bother to
install the program anyway.
1993-08-03 21:58:55 +00:00
mycroft 52efca41cd Nuke remaining patchkit headers. 1993-08-02 18:17:24 +00:00
mycroft 53d05dab0d Makefile 1993-08-02 17:16:08 +00:00
mycroft 8542364e07 Add RCS identifiers. 1993-08-01 18:49:50 +00:00
mycroft b1bd4afedc Add RCS indentifiers. 1993-08-01 07:42:49 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
mycroft f6e43c3958 Use ${COPY}, not -c for install. 1993-07-18 19:17:22 +00:00
cgd a24a91d611 build datfiles at make time, not at install time 1993-04-30 05:24:57 +00:00
mycroft 02ad2c8cb7 Fix compilation error I introduced. 1993-04-20 04:23:07 +00:00
mycroft f7f4b85ce9 Cleanup for GCC 2. 1993-04-18 21:52:18 +00:00
cgd 700132ca1e datfiles need obj made, too. 1993-04-09 23:56:18 +00:00
cgd 0594fb5686 fix various install problems. 1993-04-09 09:37:17 +00:00
cgd 033149f0cc fixed makefile so it doesn't need to write to dir on install and doesn't
need symlink
1993-04-04 10:37:27 +00:00
cgd f620d7d9f6 got rid of unnecessary -lcompat and associated dependency 1993-03-23 02:44:38 +00:00
cgd e541169ce2 after 0.2.2 "stable" patches applied 1993-03-21 18:04:42 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00