freebsd-ports/games/moria/files/patch-source::signals.c
Greg Lewis 3b5afbbdfb . Add a port of moria. For those too young to have played moria:
The game of moria is a single player dungeon simulation.  A player
may choose from a number of races and classes when creating a
character, and then `run' that character over a period of days,
weeks, even months, attempting to win the game by defeating the
Balrog which lurks in the deeper levels.

The player will begin his adventure on the town level where he may
acquire supplies, weapons, armor, and magical devices by bartering
with various shop owners. After preparing for his adventure, the
player can descend into the dungeons of moria where fantastic
adventures await his coming!

WWW: http://www-math.bgsu.edu/~grabine/moria.html
2003-08-07 04:26:34 +00:00

22 lines
584 B
C

$FreeBSD$
--- source/signals.c Thu Jul 21 19:47:42 1994
+++ source/signals.c Tue Aug 5 10:00:36 2003
@@ -89,7 +89,7 @@
/*ARGSUSED*/
#ifndef USG
-#ifdef __386BSD__
+#if defined(__386BSD__) || defined(__FreeBSD__)
static void signal_handler(sig, code, scp)
#else
static int signal_handler(sig, code, scp)
@@ -217,7 +217,7 @@
#if defined(atarist) && defined(__GNUC__)
(void) signal(SIGTSTP, (__Sigfunc)suspend);
#else
-#ifdef __386BSD__
+#if defined(__386BSD__) || defined(__FreeBSD__)
(void) signal(SIGTSTP, (sig_t)suspend);
#else
(void) signal(SIGTSTP, suspend);