Commit Graph

63 Commits

Author SHA1 Message Date
christos bc32159d26 fix redundant decls and nested externs. while I am here change my copyright
to TNF.
2001-02-05 00:37:43 +00:00
cgd d594ce939b comment or delete text after CPP directives. 2001-01-16 02:50:27 +00:00
lukem 51ea0cba47 remove unnecessary command name after .Nm 2000-11-07 05:51:54 +00:00
simonb cd2e1c1e91 Use ${COPY} instead of -c for ${INSTALL} commands. 2000-09-23 13:53:41 +00:00
simonb 959e90b8fb Don't use <sys/cdefs.h> __COPYRIGHT/__RCSID macros for host programs -
use portable ANSI constructs instead.

Patches from Chris Demetriou.
2000-07-31 11:35:03 +00:00
itojun d303927592 printf() pedant - do not pass variable alone, use %s.
idea from openbsd.  after looking at freebsd commit msgs from kris@freebsd.
2000-07-10 10:19:25 +00:00
matt 3233065035 More include additions for exit, abs, strcmp, etc. 2000-07-03 03:57:39 +00:00
blymn cd583077db * Fix termcap handling to use the new interface to avoid buffer
overflows with extended termcap entries.
* Made delay_output use usleep instead of the grungy tgoto hack it had.
2000-05-20 14:01:42 +00:00
kleink f48d30b904 POSIX.2: Ignore a null PAGER as well. 2000-03-02 18:19:06 +00:00
lukem 88d3d7c59e update after change to return value of tputs() third argument 1999-10-04 23:26:59 +00:00
simonb b729f2c755 Use ${INSTPRIV} with ${INSTALL}. 1999-08-21 06:27:29 +00:00
tron b3cf7d7788 Adapt to change in "termcap.h". 1999-08-14 16:36:42 +00:00
kristerw 8e5038f0a3 Fix Y2K buffer overflow (from OpenBSD). 1999-04-25 19:08:34 +00:00
dbj 16a09f01ca tweaks to pass DESTDIR to subprograms when it is defined in /etc/mk.conf
but is not in the environment.
1998-12-06 09:06:45 +00:00
wrstuden aaae79a78d Make the helper programs compile right in a cross-compiling environment. 1998-09-12 19:05:48 +00:00
veego 04afeca685 Add braces to make the new egcs happy. 1998-08-30 09:19:36 +00:00
mrg 999b5ad105 install games files with the correct permissions. 1997-11-20 08:52:16 +00:00
mrg 6074e1b476 install games that need it setgid. 1997-11-20 00:12:30 +00:00
fair 3aa9af7caf Initialize pointers to NULL to avoid gcc/sparc compiler error
hack.invent.c: In function `dolook':
hack.invent.c:800: warning: `otmp0' might be used uninitialized in this function
hack.invent.c:801: warning: `gold' might be used uninitialized in this function
(this is awfully tiresome - can't we fix gcc?)
1997-10-23 07:05:55 +00:00
lukem 2b90aecdec use CPPFLAGS instead of CFLAGS, fix dependancies for parallel compile 1997-10-22 05:24:11 +00:00
christos 3ea4a95c18 WARNsify... 1997-10-19 16:56:41 +00:00
lukem 4877bdbb3b enable WARNS?=1 by default, & temporarily disable for the few unclean programs 1997-10-12 14:21:44 +00:00
mycroft 8306be60f4 Use afterinstall, not proginstall, to run post-installation crap. 1997-05-07 16:03:15 +00:00
thorpej 20c2907cc6 Allow this to be cross-compiled. 1997-04-19 07:20:13 +00:00
thorpej 365ece4e6a Make these compile on the PowerPC (an unsigned char system). 1997-03-29 20:42:16 +00:00
mycroft b3048006fe Install the help file again. 1997-03-27 10:55:21 +00:00
christos d59123b39b - Makefile cleanups 1997-03-24 22:15:37 +00:00
tls 34cd8f5bdf Sync to 4.4BSD-Lite2 1997-01-07 11:56:32 +00:00
thorpej 871c9c08af Use ${INSTALL}. 1996-10-18 02:37:51 +00:00
jtc 5224609738 Removed "extern int errno"; Added #include <errno.h> if not already present. 1996-02-06 22:47:06 +00:00
jtc 91a569e42a fix path of mail reader 1995-07-03 19:44:30 +00:00
mycroft 0503ed856a Oops. Adjust delay by 10x. 1995-04-29 01:20:00 +00:00
mycroft d01d565d68 Fix usages of ospeed. 1995-04-29 01:08:51 +00:00
mycroft 53eb389b37 Use POSIX tty semantics. 1995-04-28 23:01:45 +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 42fb1b9d4a merge with Lite, new RCS id conventions, etc. 1995-03-23 08:28:00 +00:00
jtc e6371e01f3 change <sys/signal.h> to <signal.h> 1995-02-28 18:30:59 +00:00
mycroft 529df560bc Don't #include inside a function definition. 1995-01-07 04:36:41 +00:00
cgd c4c01d75b2 specify man pages the new way. 1994-12-22 09:31:26 +00:00
cgd a218d38dc2 need -lcompat 1994-05-23 05:32:40 +00:00
cgd 1a11d63787 oops 1994-03-28 11:21:12 +00:00
cgd 46602f3cbf bogus lseek extern 1994-03-28 11:19:09 +00:00
cgd b4da561c15 kiil bogus install -d's 1994-02-10 02:31:32 +00:00
pk be7657d720 Use .OBJDIR for auxiliary programs. 1994-01-04 21:40:31 +00:00
mycroft 7609fb537f From: Havard Eidnes <Havard.Eidnes@runit.sintef.no>
Fix various permissions problems in /var/games/hackdir, and use `install -d'.
1993-12-02 03:11:32 +00:00
mycroft 5559c73bc3 Don't try to write into a string constant.
Reported by Dan Muntz <dmuntz@eecs.umich.edu>.
1993-12-02 03:07:18 +00:00
cgd ed4933867f use LDSTATIC 1993-11-08 04:45:28 +00:00
mycroft 24d4c923e9 Make hack.onames.h be built first. 1993-08-14 22:21:45 +00:00
mycroft 39fb0f477c Add -I. to deal with hack.onames.h, and tweak for cross-compilation. 1993-08-10 02:53:17 +00:00
mycroft 41c396a394 Remove makedefs when cleaning. 1993-08-06 22:49:42 +00:00