openbsd-ports/games/nethack/patches/patch-sys_unix_unixunix_c
espie 3a0ccd1fae Revamped nethack port:
- 3.3.0.
- fixed packaging.
- moved common data to hackdata port, to avoid nasty collision with slash.
- compile and install recover.
- only install manpages that correspond to stuff we run.
- remove need for GMAKE.
- include configuration files, allow for X11/plain/qt flavor
(qt is not yet ready, it needs qt 2.0).

Colors work much better, even under console if TERM is set to pcvt25.
2000-04-16 20:48:56 +00:00

14 lines
491 B
Plaintext

$OpenBSD: patch-sys_unix_unixunix_c,v 1.1 2000/04/16 20:49:00 espie Exp $
--- sys/unix/unixunix.c.orig Sat Dec 11 06:21:05 1999
+++ sys/unix/unixunix.c Fri Apr 14 14:13:19 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];