summaryrefslogtreecommitdiff
path: root/games/moria/files/patch-source__death.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/moria/files/patch-source__death.c')
-rw-r--r--games/moria/files/patch-source__death.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/games/moria/files/patch-source__death.c b/games/moria/files/patch-source__death.c
new file mode 100644
index 000000000000..3e7795add028
--- /dev/null
+++ b/games/moria/files/patch-source__death.c
@@ -0,0 +1,34 @@
+$FreeBSD$
+
+--- source/death.c.orig Thu Aug 7 16:02:45 2003
++++ source/death.c Thu Aug 7 16:06:12 2003
+@@ -123,6 +123,7 @@
+ #include <stdlib.h>
+ #endif
+
++#ifndef __FreeBSD__
+ #ifndef VMS
+ #ifndef MAC
+ #if !defined(ATARIST_MWC) && !defined(AMIGA)
+@@ -130,18 +131,19 @@
+ #endif
+ #endif
+ #endif
++#endif
+
+ static void date(day)
+ char *day;
+ {
+ register char *tmp;
+-#ifdef MAC
++#if defined(MAC) || defined(__FreeBSD__)
+ time_t clockvar;
+ #else
+ long clockvar;
+ #endif
+
+-#ifdef MAC
++#if defined(MAC) || defined(__FreeBSD__)
+ clockvar = time((time_t *) 0);
+ #else
+ clockvar = time((long *) 0);