]> git.cameronkatri.com Git - bsdgames-darwin.git/log
bsdgames-darwin.git
21 years agoMove UCB-licensed code from 4-clause to 3-clause licence.
agc [Thu, 7 Aug 2003 09:36:50 +0000 (09:36 +0000)]
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.

21 years agoRework how dependency generation is performed:
lukem [Fri, 1 Aug 2003 17:03:41 +0000 (17:03 +0000)]
Rework how dependency generation is performed:

* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
  This is a change of behaviour.  If a Makefile wants the clean semantics
  it must specifically append to CLEANFILES.
  Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
  that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d  depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS

Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".

21 years agosimplify and use ${DEPENDSRCS} as a target as appropriate
lukem [Thu, 31 Jul 2003 13:54:30 +0000 (13:54 +0000)]
simplify and use ${DEPENDSRCS} as a target as appropriate

21 years agonetbsd.org->NetBSD.org
salo [Sat, 26 Jul 2003 17:24:44 +0000 (17:24 +0000)]
netbsd.org->NetBSD.org

21 years agoRename a large chunk of the make(1) variables which refer to a
lukem [Thu, 10 Jul 2003 10:33:58 +0000 (10:33 +0000)]
Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
TOOL_FOO?= foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.

21 years agoSy Aq -> Aq Sy so both work.
wiz [Tue, 1 Jul 2003 10:25:03 +0000 (10:25 +0000)]
Sy Aq -> Aq Sy so both work.

21 years agoQuote question mark.
wiz [Fri, 27 Jun 2003 22:48:35 +0000 (22:48 +0000)]
Quote question mark.

21 years agoFix macro order, and quote question mark.
wiz [Fri, 27 Jun 2003 22:47:44 +0000 (22:47 +0000)]
Fix macro order, and quote question mark.

21 years agoUse only one of -literal and -unfilled with Bd.
wiz [Thu, 26 Jun 2003 10:04:37 +0000 (10:04 +0000)]
Use only one of -literal and -unfilled with Bd.

21 years agoSync with v20030416 of Makefile.
wiz [Wed, 11 Jun 2003 12:10:21 +0000 (12:10 +0000)]
Sync with v20030416 of Makefile.

21 years agoMake build.
wiz [Wed, 11 Jun 2003 12:04:06 +0000 (12:04 +0000)]
Make build.

21 years agoMerge with v20030416.
wiz [Wed, 11 Jun 2003 12:00:21 +0000 (12:00 +0000)]
Merge with v20030416.

21 years agoMake this work on 64 bit big endian platforms.
martin [Wed, 11 Jun 2003 09:51:56 +0000 (09:51 +0000)]
Make this work on 64 bit big endian platforms.

21 years agoUse standard section header; add nokeep to table to avoid page/line break
wiz [Sun, 18 May 2003 09:30:08 +0000 (09:30 +0000)]
Use standard section header; add nokeep to table to avoid page/line break
in table. From jmc@openbsd.

21 years agosetup -> set up.
wiz [Wed, 14 May 2003 12:11:03 +0000 (12:11 +0000)]
setup -> set up.

21 years agoRemove double spaces between words
mjl [Thu, 8 May 2003 18:12:24 +0000 (18:12 +0000)]
Remove double spaces between words

21 years agouniq.
mjl [Thu, 8 May 2003 17:51:12 +0000 (17:51 +0000)]
uniq.

21 years agoMove limericks to limerick file. Sort that and uniq.
mjl [Thu, 8 May 2003 17:25:48 +0000 (17:25 +0000)]
Move limericks to limerick file. Sort that and uniq.

21 years agoMove limericks to limerick file. Sort that and uniq.
mjl [Thu, 8 May 2003 17:01:04 +0000 (17:01 +0000)]
Move limericks to limerick file. Sort that and uniq.

21 years agoSort and remove duplicates.
mjl [Thu, 8 May 2003 16:37:45 +0000 (16:37 +0000)]
Sort and remove duplicates.

21 years agoPull in corrections from Free/OpenBSD.
mjl [Thu, 8 May 2003 16:20:25 +0000 (16:20 +0000)]
Pull in corrections from Free/OpenBSD.
Also move limericks to limerick file.

21 years agoPull in corrections from Free/OpenBSD.
mjl [Thu, 8 May 2003 14:53:08 +0000 (14:53 +0000)]
Pull in corrections from Free/OpenBSD.

21 years agoMerge in corrections/additions from Free/OpenBSD.
mjl [Thu, 8 May 2003 14:27:10 +0000 (14:27 +0000)]
Merge in corrections/additions from Free/OpenBSD.

21 years agoMerge in corrections from Free/OpenBSD.
mjl [Thu, 8 May 2003 14:14:32 +0000 (14:14 +0000)]
Merge in corrections from Free/OpenBSD.

21 years agode-__P().
wiz [Thu, 8 May 2003 13:03:49 +0000 (13:03 +0000)]
de-__P().

21 years agoTypo fix. From FreeBSD PR/51909.
mjl [Wed, 7 May 2003 19:00:13 +0000 (19:00 +0000)]
Typo fix. From FreeBSD PR/51909.

21 years agodon't print error messages using warn, because we clear the screen immediately
christos [Sat, 3 May 2003 09:10:23 +0000 (09:10 +0000)]
don't print error messages using warn, because we clear the screen immediately
afterwards and they vanish.

21 years agoDrop a trailing dot. From jmc@openbsd.
wiz [Sat, 26 Apr 2003 21:30:51 +0000 (21:30 +0000)]
Drop a trailing dot. From jmc@openbsd.

21 years agoFix some nits, do not mark up i.e. too much. From jmc@openbsd.
wiz [Sat, 26 Apr 2003 21:30:23 +0000 (21:30 +0000)]
Fix some nits, do not mark up i.e. too much. From jmc@openbsd.

21 years agoGrammar fixes, from jmc@openbsd.
wiz [Sat, 26 Apr 2003 21:29:10 +0000 (21:29 +0000)]
Grammar fixes, from jmc@openbsd.

21 years agoGrammar and punctuation fixes, from jmc@openbsd.
wiz [Sat, 26 Apr 2003 21:28:40 +0000 (21:28 +0000)]
Grammar and punctuation fixes, from jmc@openbsd.

21 years agoGrammar fixes, from jmc@openbsd.
wiz [Sat, 26 Apr 2003 21:27:47 +0000 (21:27 +0000)]
Grammar fixes, from jmc@openbsd.

21 years agoUse .Nm instead of "arithmetic" in one place. From jmc@openbsd.
wiz [Sat, 26 Apr 2003 21:27:01 +0000 (21:27 +0000)]
Use .Nm instead of "arithmetic" in one place. From jmc@openbsd.

21 years agoImplement a -t option, to easily select an acronyms list from /usr/share/misc.
jmmv [Fri, 25 Apr 2003 19:08:31 +0000 (19:08 +0000)]
Implement a -t option, to easily select an acronyms list from /usr/share/misc.
One can do `wtf -t comp pci' and it will use /usr/share/misc/acronyms.comp
to search the acronym as usual.

21 years agoPR/8247: Simon Burge: monop(6) save/restore doesn't work.
christos [Mon, 21 Apr 2003 01:25:27 +0000 (01:25 +0000)]
PR/8247: Simon Burge: monop(6) save/restore doesn't work.
With the advent of elf and mmaping malloc, assumptions that the code made
before about location and contents of the data segment broke. We supplied
an sbrk() only malloc, and recorded the break point at the beginning of
the program, so now save and restore works, in the traditional monop style.

21 years agouse an sbrk() only malloc() because save and restore depends on saving
christos [Mon, 21 Apr 2003 01:23:06 +0000 (01:23 +0000)]
use an sbrk() only malloc() because save and restore depends on saving
the data segment only. Maybe we should make libbsdmalloc?

21 years agoMention the /usr/share/misc/acronyms.comp database.
jmmv [Fri, 11 Apr 2003 11:13:34 +0000 (11:13 +0000)]
Mention the /usr/share/misc/acronyms.comp database.

21 years agoAnd use basename $0 to get program's name...
jmmv [Thu, 10 Apr 2003 09:21:19 +0000 (09:21 +0000)]
And use basename $0 to get program's name...

21 years agoImplement the `-f' command line option to specify which acronyms database
jmmv [Thu, 10 Apr 2003 09:18:24 +0000 (09:18 +0000)]
Implement the `-f' command line option to specify which acronyms database
to use.  Overrides ACRONYMDB's value, if given.

21 years agoadd a fortune contributed by Petter "Nosfisk" Lindquist in PR misc/21070
jdolecek [Tue, 8 Apr 2003 19:41:08 +0000 (19:41 +0000)]
add a fortune contributed by Petter "Nosfisk" Lindquist in PR misc/21070
a nice one - thanks!

21 years agoHack is now BSD-licensed. Thanks to Andries Brouwer, Jay Fenlason and
jsm [Wed, 2 Apr 2003 18:36:33 +0000 (18:36 +0000)]
Hack is now BSD-licensed.  Thanks to Andries Brouwer, Jay Fenlason and
CWI <http://www.cwi.nl/~aeb/games/hack/hack.html>.  Via OpenBSD.
Addresses part of PR bin/5850.

21 years agoRewrite broken broadcast interface detection code using getifaddrs(3).
drochner [Tue, 1 Apr 2003 12:01:34 +0000 (12:01 +0000)]
Rewrite broken broadcast interface detection code using getifaddrs(3).
"hunt -q" works now.

21 years agoPDP-11 instead of PDP 11. Igor Sobrado in PR 19678.
wiz [Sun, 30 Mar 2003 20:53:30 +0000 (20:53 +0000)]
PDP-11 instead of PDP 11. Igor Sobrado in PR 19678.

21 years agoYugoslavia has changed its name to Serbia and Montenegro.
jsm [Sat, 29 Mar 2003 17:54:44 +0000 (17:54 +0000)]
Yugoslavia has changed its name to Serbia and Montenegro.

21 years agoThe Hague is not the capital of the Netherlands. Reported by Hugo van
jsm [Sat, 29 Mar 2003 17:54:00 +0000 (17:54 +0000)]
The Hague is not the capital of the Netherlands.  Reported by Hugo van
Galen <hugo@Dot.net> (in the Netherlands) and Florian Boehl
<flo@namensraumverschmutzung.net>.

21 years agoSome might call them the Wright Bothers, but I prefer Wright Brothers.
briggs [Thu, 20 Mar 2003 13:46:40 +0000 (13:46 +0000)]
Some might call them the Wright Bothers, but I prefer Wright Brothers.

21 years agoMake this work on sparc64 (don't use long and assume sizeof(long) = 4).
jdc [Wed, 26 Feb 2003 07:14:44 +0000 (07:14 +0000)]
Make this work on sparc64 (don't use long and assume sizeof(long) = 4).
Tested against a LE32 system (arm).

21 years ago.Nm does not need a dummy argument ("") before punctuation or
wiz [Tue, 25 Feb 2003 10:34:36 +0000 (10:34 +0000)]
.Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.

21 years ago.Nm still needs "".
wiz [Sun, 23 Feb 2003 23:40:47 +0000 (23:40 +0000)]
.Nm still needs "".

21 years agoUse pipe ("|") as a sed command field separator and allow slash ("/")
salo [Thu, 6 Feb 2003 15:17:01 +0000 (15:17 +0000)]
Use pipe ("|") as a sed command field separator and allow slash ("/")
character in acronyms.  (e.g. W/, B/C, ...)

Approved by jdolecek.

22 years agoThe Double-Semi-Colon Police.
simonb [Mon, 20 Jan 2003 05:29:53 +0000 (05:29 +0000)]
The Double-Semi-Colon Police.

22 years agoMy god, it's full of typos (still is).
mjl [Sat, 18 Jan 2003 11:44:11 +0000 (11:44 +0000)]
My god, it's full of typos (still is).

22 years agobandwidth, not bandwith.
wiz [Fri, 17 Jan 2003 23:58:55 +0000 (23:58 +0000)]
bandwidth, not bandwith.

22 years agointerrupt with two rs.
wiz [Mon, 6 Jan 2003 13:04:54 +0000 (13:04 +0000)]
interrupt with two rs.

22 years agoAdd ${MACROS} to ${ROFF} usage to make output readable
pooka [Sun, 5 Jan 2003 12:34:26 +0000 (12:34 +0000)]
Add ${MACROS} to ${ROFF} usage to make output readable

from jbernard@mines.edu in misc/19685

22 years agoCorrect some comments and error messages that still talked about "select".
kristerw [Sun, 29 Dec 2002 15:12:17 +0000 (15:12 +0000)]
Correct some comments and error messages that still talked about "select".

Solves the last part of PR 18905.

22 years agoFix a bug in rwait() introduced during the select() to poll() conversion
jmmv [Thu, 26 Dec 2002 20:15:11 +0000 (20:15 +0000)]
Fix a bug in rwait() introduced during the select() to poll() conversion
that caused tetris to crash when pausing the game. Approved by tron.

22 years agofix confusion between east and west for y,u,b, and n.
pooka [Sun, 15 Dec 2002 22:02:52 +0000 (22:02 +0000)]
fix confusion between east and west for y,u,b, and n.

from Soren Jacobsen in misc/19397

22 years agoNeed <stdlib.h> for abort() prototype.
thorpej [Fri, 6 Dec 2002 01:54:55 +0000 (01:54 +0000)]
Need <stdlib.h> for abort() prototype.

22 years agoAvoid strict alias warning.
thorpej [Fri, 6 Dec 2002 01:50:56 +0000 (01:50 +0000)]
Avoid strict alias warning.

22 years agoAvoid confict with reserved identifier "expl".
thorpej [Fri, 6 Dec 2002 01:48:24 +0000 (01:48 +0000)]
Avoid confict with reserved identifier "expl".

22 years agoUse more markup, and bump date for ppt's -d flag.
wiz [Fri, 29 Nov 2002 19:09:57 +0000 (19:09 +0000)]
Use more markup, and bump date for ppt's -d flag.

22 years agoTweak the argc/argv usage a bit more, and be a little less eager about
atatat [Tue, 26 Nov 2002 23:07:36 +0000 (23:07 +0000)]
Tweak the argc/argv usage a bit more, and be a little less eager about
printing newlines.

22 years agoDon't skip the first arg.
kim [Tue, 26 Nov 2002 21:39:18 +0000 (21:39 +0000)]
Don't skip the first arg.

22 years agoinitialize dflag to zero, so encoding works.
kim [Tue, 26 Nov 2002 21:34:07 +0000 (21:34 +0000)]
initialize dflag to zero, so encoding works.

22 years agoI forgot to compile first...
kim [Tue, 26 Nov 2002 03:49:53 +0000 (03:49 +0000)]
I forgot to compile first...

22 years agoAdd ppt decoding from Michael Shalayeff <mickey@lucifier.net>
kim [Tue, 26 Nov 2002 03:47:45 +0000 (03:47 +0000)]
Add ppt decoding from Michael Shalayeff <mickey@lucifier.net>

22 years agoFix bogon in compat re code.
christos [Sun, 24 Nov 2002 18:03:14 +0000 (18:03 +0000)]
Fix bogon in compat re code.

22 years agoNetBSD - love all, serve all.
hubertf [Thu, 21 Nov 2002 15:06:14 +0000 (15:06 +0000)]
NetBSD - love all, serve all.
                -- Silke Mueller

22 years agofix duplicate limerick-o in CLEANFILES
drochner [Tue, 22 Oct 2002 16:14:04 +0000 (16:14 +0000)]
fix duplicate limerick-o in CLEANFILES

22 years agoavoid buffer overrun. fix from openbsd.
itojun [Fri, 18 Oct 2002 14:12:14 +0000 (14:12 +0000)]
avoid buffer overrun.  fix from openbsd.
reported by Niels Heinen <niels.heinen@ubizen.com>

22 years ago- use correctly bounded strings when reloading a saved game. in particular,
mrg [Tue, 1 Oct 2002 14:18:57 +0000 (14:18 +0000)]
- use correctly bounded strings when reloading a saved game.  in particular,
do not let the save game file "string length" exceed the amount of space
supplied.  as noted by <stanojr@iserver.sk> on bugtraq.
- minor KNF.

tested by simonb.

22 years agon-dashes are even better here. Noted by Robert Elz.
wiz [Mon, 30 Sep 2002 12:43:22 +0000 (12:43 +0000)]
n-dashes are even better here. Noted by Robert Elz.

22 years agoLots of minor fixes resulting from reading these man pages in detail.
wiz [Thu, 26 Sep 2002 18:31:58 +0000 (18:31 +0000)]
Lots of minor fixes resulting from reading these man pages in detail.

22 years agoMdoc nits -- unneeded ".
wiz [Thu, 26 Sep 2002 16:33:53 +0000 (16:33 +0000)]
Mdoc nits -- unneeded ".

22 years agoIspell.
wiz [Thu, 26 Sep 2002 16:29:25 +0000 (16:29 +0000)]
Ispell.

22 years agoNew sentences begin on new lines.
wiz [Thu, 26 Sep 2002 16:12:39 +0000 (16:12 +0000)]
New sentences begin on new lines.
Patch from Richard Elz, slightly improved by yours truly.

22 years agoMinor rearrangement.
mycroft [Fri, 20 Sep 2002 21:00:01 +0000 (21:00 +0000)]
Minor rearrangement.

22 years agoRemove an unused declaration.
mycroft [Fri, 20 Sep 2002 20:58:12 +0000 (20:58 +0000)]
Remove an unused declaration.

22 years agoselect() -> poll()
mycroft [Fri, 20 Sep 2002 20:54:15 +0000 (20:54 +0000)]
select() -> poll()
Also, turn off talk announcements; it's a wretched hack.

22 years agoIf we're searching for a huntd, probe local_address along with broadcast
mycroft [Fri, 20 Sep 2002 17:27:57 +0000 (17:27 +0000)]
If we're searching for a huntd, probe local_address along with broadcast
addresses.

22 years agoselect() -> poll()
mycroft [Fri, 20 Sep 2002 15:47:19 +0000 (15:47 +0000)]
select() -> poll()

22 years agoSlight redux.
mycroft [Thu, 19 Sep 2002 21:26:56 +0000 (21:26 +0000)]
Slight redux.

22 years agoselect() -> poll()
mycroft [Thu, 19 Sep 2002 21:12:10 +0000 (21:12 +0000)]
select() -> poll()

22 years agoselect() -> poll(), nanosleep()
mycroft [Thu, 19 Sep 2002 03:15:43 +0000 (03:15 +0000)]
select() -> poll(), nanosleep()

22 years agouse NETBSDSRCDIR as appropriate
lukem [Thu, 19 Sep 2002 03:15:39 +0000 (03:15 +0000)]
use NETBSDSRCDIR as appropriate

22 years agosome makefile de-linting
lukem [Wed, 18 Sep 2002 06:16:39 +0000 (06:16 +0000)]
some makefile de-linting

22 years agoneed bsd.own.mk for NETBSDSRCDIR
lukem [Wed, 18 Sep 2002 03:23:00 +0000 (03:23 +0000)]
need bsd.own.mk for NETBSDSRCDIR

22 years agouse NETBSDSRCDIR as appropriate
lukem [Wed, 18 Sep 2002 02:51:46 +0000 (02:51 +0000)]
use NETBSDSRCDIR as appropriate

22 years agoshops are only supposed to have 1 door (as per standard hack 1.0.3).
chuck [Thu, 22 Aug 2002 01:49:34 +0000 (01:49 +0000)]
shops are only supposed to have 1 door (as per standard hack 1.0.3).
for some reason, the version of 1.0.3 that was in the 4.4 lite tree
was modified to allow shops with two doors -- this violates the spirit
of the game.   with this diff, we revert back to classic 1.0.3 behavior.

22 years agoremove spurious ^A's and ||
christos [Tue, 20 Aug 2002 13:49:11 +0000 (13:49 +0000)]
remove spurious ^A's and ||

22 years agocalloc() arg mistake. it's (nelem, size). from openbsd
itojun [Mon, 12 Aug 2002 02:37:26 +0000 (02:37 +0000)]
calloc() arg mistake.  it's (nelem, size).  from openbsd

22 years agoRemove unused variable "err".
tron [Tue, 6 Aug 2002 11:39:53 +0000 (11:39 +0000)]
Remove unused variable "err".

22 years agofix regular expression matcher.
dbj [Tue, 6 Aug 2002 03:39:44 +0000 (03:39 +0000)]
fix regular expression matcher.
the string "xc" was failing to match "x[[a|b]|c]"

22 years agoutmpx support.
christos [Fri, 2 Aug 2002 03:06:24 +0000 (03:06 +0000)]
utmpx support.

22 years agosweep of errx/warnx, remove unnecessary trailing \n
grant [Sat, 20 Jul 2002 08:36:17 +0000 (08:36 +0000)]
sweep of errx/warnx, remove unnecessary trailing \n

22 years agoadd the following quote from elric@.. (with permission, of course)
grant [Mon, 8 Jul 2002 02:34:20 +0000 (02:34 +0000)]
add the following quote from elric@.. (with permission, of course)

I held off from Uni until NetBSD came out.
I decided, ``if there's no NetBSD then I'll just flip burgers''
-- Roland Dowdeswell

22 years agoMake "rogue" build with "WARNS=2". The necessary patches were supplied
tron [Sun, 7 Jul 2002 09:35:07 +0000 (09:35 +0000)]
Make "rogue" build with "WARNS=2". The necessary patches were supplied
by David A. Holland in PR bin/17498.

22 years agoI was bored, so... simplify(?) this code a bit.
mycroft [Tue, 2 Jul 2002 17:18:21 +0000 (17:18 +0000)]
I was bored, so... simplify(?) this code a bit.

22 years agos/FOURTY/FORTY/
dbj [Tue, 2 Jul 2002 15:25:47 +0000 (15:25 +0000)]
s/FOURTY/FORTY/