openbsd-ports/games/slash/patches/patch-include_system_h
espie f9fa1eecc8 Repair slash port.
- base on nethack 3.2.2, bump to 3.3.0 will have to wait (probably better
to port slash'em instead),
- use hackdata to avoid conflicts with nethack,
- proper packaging,
- x11/no x11 flavor,
- install recover,
- change manpages to differentiate from nethack,
- grab enough TERMINFO to handle color correctly (from nethack 3.3.0)
2000-04-16 21:18:59 +00:00

22 lines
676 B
Plaintext

$OpenBSD: patch-include_system_h,v 1.1 2000/04/16 21:19:07 espie Exp $
--- include/system.h.orig Fri Apr 14 15:10:24 2000
+++ include/system.h Fri Apr 14 15:10:49 2000
@@ -511,6 +511,9 @@ E struct tm *FDECL(localtime, (const tim
# endif
# endif
+# if defined(BSD)
+/* no declaration needed; it's in time.h */
+#else
# if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC)
# ifndef __WATCOMC__
E time_t FDECL(time, (time_t *));
@@ -518,6 +521,7 @@ E time_t FDECL(time, (time_t *));
# else
E long FDECL(time, (time_t *));
# endif /* ULTRIX */
+#endif
#ifdef VMS
/* used in makedefs.c, but missing from gcc-vms's <time.h> */