summaryrefslogtreecommitdiffstats
path: root/phantasia
Commit message (Collapse)AuthorAgeFilesLines
* Make this build with WARNS=4 by not reusing names from <math.h>.dholland2008-01-281-5/+5
|
* Only pull in <sys/cdefs.h> on NetBSD, to fix build on Solaris 10.lukem2008-01-161-2/+5
| | | Tweak replacement definition of __dead.
* more __dead fallout: these two files are built for the native host, notdogcow2007-12-181-1/+6
| | | | for the target host - and thus do not necessarily have __dead defined in <sys/cdefs.h>.
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-152-4/+4
|
* include sys/cdefs.h so that __attribute__ can be fixed laterperry2007-12-152-2/+4
|
* Coverity CID 3508: Fix file leak.christos2006-05-131-2/+3
|
* Don't presume phantasia's internal bool (char) is the same as that injsm2005-02-155-11/+13
| | | | | | curses.h: define phbool and use it where necessary to avoid declaring functions with one bool and defining them with the other. Reviewed by <hubertf>.
* Cast last argument of execl to (char *).jsm2005-02-151-2/+2
| | | Reviewed by <hubertf>.
* Redo how void gets init'd.jmc2004-12-092-16/+18
| | | | | setup now just creates an empty file. When main starts and loads it in, it stats and if zero size init's a new location and saves it back out. Now games.tgz can be shared among MACHINE_ARCH's
* Undef bool before including <curses.h>, since it tries to typedefhe2004-04-116-6/+12
| | | | | bool. Otherwise we get (at least on gcc 2.95.3) an empty declaration warning from "typedef char char;" due to the #define of bool in phantstruct.h.
* Rework to use curses.h only on the target, not on the host.ross2004-04-079-11/+19
|
* Fix race in parallel make when creating multiple targets in one operation.lukem2004-02-081-3/+6
|
* Mark variables changed between setjmp and longjmp as volatile ratherjsm2004-02-082-14/+7
| | | than just taking their addresses.
* Move AUTHORS section directly before BUGS section.wiz2004-01-031-4/+4
| | | Suggested by jmc@openbsd.
* When cleaning up, only close files that have been opened successfully.jsm2004-01-012-7/+11
| | | | | When reporting errors for failing to open files, give error text rather than errno number. Patch from Joey Hess <joey@kitenet.net> for Debian bug 187251 from Mikael Hedin <micce@debian.org>.
* Improve how various "simple" host tools are built and invoked.lukem2003-11-161-5/+5
|
* Rework how MAKEVERBOSE operates:lukem2003-10-211-5/+3
| | | | | | | | | | * Don't bother prefixing commands with a line of ${_MKCMD}\ and instead rely upon "make -s". This is less intrusive on all the Makefiles than the former. Idea from David Laight. * Rename the variables use to print messages. The scheme now is: _MKMSG_FOO Run _MKMSG 'foo' _MKTARGET_FOO Run _MKMSG_FOO ${.TARGET} From discussion with Alistair Crooks.
* rework to use the newer _MKMSGCREATE (et al) macroslukem2003-10-191-3/+3
|
* Support MAKEVERBOSE. (Some host tools still generate verbose runtime messages)lukem2003-10-191-1/+5
|
* rework to use BUILDSYMLINKS and the <bsd.sys.mk> rule for .c.lolukem2003-10-181-6/+3
|
* remove unnecessary /lukem2003-09-301-2/+2
|
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-071-6/+2
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* Use standard section header; add nokeep to table to avoid page/line breakwiz2003-05-181-2/+3
| | | in table. From jmc@openbsd.
* de-__P().wiz2003-05-084-77/+77
|
* The Double-Semi-Colon Police.simonb2003-01-201-2/+2
|
* Lots of minor fixes resulting from reading these man pages in detail.wiz2002-09-261-10/+11
|
* Mdoc nits -- unneeded ".wiz2002-09-261-15/+15
|
* Ispell.wiz2002-09-261-3/+3
|
* New sentences begin on new lines.wiz2002-09-261-106/+145
| | | Patch from Richard Elz, slightly improved by yours truly.
* No need to reference .OBJDIR here.thorpej2002-03-051-2/+2
|
* Generate <>& symbolically. I'm avoiding .../dist/... directories for now.ross2002-02-081-3/+3
|
* .include <bsd.own.mk> earlygmcgarry2001-12-191-1/+3
|
* Change deprecated curses function calls to new equivalents.blymn2001-12-061-3/+3
|
* remove a spurious .include <bsd.own.mk>perry2001-11-191-3/+1
|
* Spell 'occurred' with two 'r's.wiz2001-09-161-2/+2
|
* fix building of phantasia ($FILES dependency on $PROG broke things)lukem2001-06-061-2/+2
|
* Convert to mdoc. Still needs tbl for two tables that have more than 6wiz2001-04-021-640/+570
| | | columns, but looks much nicer now.
* Build the data files in the obj/compile directory and install them withsimonb2001-03-272-34/+29
| | | | FILES and FILESDIR. "Problem" reported by David Querbach on current-users.
* remove redundant declschristos2001-02-051-2/+1
|
* Make this produce local objects with .lo suffix.matt2000-06-201-8/+8
|
* Fix arguments to *printw().jdc2000-04-272-4/+4
|
* HOST_CC -> HOST_LINK.cpk2000-04-241-2/+2
|
* Fix two ubiquitous operator precedence error of typejdolecek2000-03-301-3/+3
| | | | bar = foo + (cond) ? x : y. Patch sent by John Darrow in bin/9698.
* More .mk file fallout. *sigh*mycroft2000-01-231-2/+2
|
* Fix uses of namespaces reserved by ISO C or POSIX.1.jsm1999-09-301-1/+10
|
* Cleanup and warning fixes for phantasia/setup.c.jsm1999-09-191-4/+17
|
* Fix -Wsign-compare warnings.jsm1999-09-181-2/+2
|
* A couple more checks for file descriptor < 3 missed earlier.jsm1999-09-131-1/+3
|
* Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate injsm1999-09-085-34/+34
| | | the games.
* Add `__noreturn__' and `__unused__' attributes where appropriate tojsm1999-09-082-4/+4
| | | | | | | | | | | | 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).