openbsd-ports/games/slash/patches/patch-sys_unix_unixunix_c
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

14 lines
491 B
Plaintext

$OpenBSD: patch-sys_unix_unixunix_c,v 1.1 2000/04/16 21:19:08 espie Exp $
--- sys/unix/unixunix.c.orig Tue Jun 18 00:34:55 1996
+++ sys/unix/unixunix.c Fri Apr 14 15:10:49 2000
@@ -38,7 +38,9 @@ gethdate(name)
* does not exist on all systems, and moreover, that it sometimes includes
* <sys/types.h> again, so that the compiler sees these typedefs twice.
*/
+#ifndef HAVE_SYS_PARAM_H
#define MAXPATHLEN 1024
+#endif
register const char *np, *path;
char filename[MAXPATHLEN+1];