aboutsummaryrefslogtreecommitdiff
path: root/games/moria/files/patch-source__signals.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/moria/files/patch-source__signals.c')
-rw-r--r--games/moria/files/patch-source__signals.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/games/moria/files/patch-source__signals.c b/games/moria/files/patch-source__signals.c
new file mode 100644
index 000000000000..7d85536de9bd
--- /dev/null
+++ b/games/moria/files/patch-source__signals.c
@@ -0,0 +1,22 @@
+$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);