6 Commits

Author SHA1 Message Date
espie
5fca700842 clang doesn't like int functions that don't return, but signal handlers
have returned void basically forever, so cut thru a bit of old-style cruft
so it compiles and runs more or less correctly (there's a shitload of stuff
happening in the handler... not my fight)

TODO: LINT_ARGS controls prototypes in externs.h... turning them on
triggers some issues with K&R vs ANSI in some functions.
2017-04-25 15:47:41 +00:00
jca
0d91c5a543 Port cleanup:
- reorder Makefile
- regen distinfo
- setup WRKBUILD once in post-configure rather than do-build
- pass -DPREFIX=... via MAKE_FLAGS and use do-install instead of
  patching unix/Makefile (nicer to read)
- minor PLIST reordering to please ''make plist''
- bump REVISION (previous commit to patches/patch-source_io_c)
ok naddy@
2013-12-12 21:39:08 +00:00
jca
884c5734e0 Use termios.h and tcgetattr/tcsetattr instead of ioctl's if USE_TERMIOS
is defined.  Compat code still available through #defines.  ok naddy@
2013-12-12 21:32:48 +00:00
naddy
41407ec618 fix time_t abuses in twenty-year-old code 2013-04-05 20:36:27 +00:00
lebel
2fd6a8a77d - modify moria to use /var/games/moria/scores for its score file
- then, add pkg/INSTALL and DEINSTALL to manage the score file.
2001-08-11 03:22:54 +00:00
lebel
649cd09245 initial import of moria-5.5.2:
--
The game is set in Moria and the goal is to kill off the balrog.
Apart from this, the game is almost completely based on Dungeons &
Dragons. The game is a true classic and every true gamer should
have played it.

It was originally written by Robert Alan Koeneke with some help
from Jimmy Wayne Todd. Further development of the game has almost
ceased, but The Pits of Angband, which is based on its code, is
still very much in development.

WWW: http://www-math.bgsu.edu/~grabine/moria.html
2001-07-04 16:57:50 +00:00