openbsd-ports/editors/nedit/patches/patch-ae
marc f116dfe7c6 Throw out old freebsd specific patches; create openbsd patches
from Berndt Josef Wulf <wulf@ping.net.au>; install nc as ncl
so it dies not conflict with netcat;  install nedit.doc; use
mkstemp instead of tmpnam; don't require MOTIF, just libXm
(LessTif allowed)
1998-07-16 03:40:48 +00:00

12 lines
405 B
Plaintext

--- source/server.c.~1~ Thu Mar 19 13:20:24 1998
+++ source/server.c Wed Jul 15 17:39:56 1998
@@ -54,7 +54,7 @@
independent way), please change this (L_cuserid is apparently not ANSI) */
#define MAXUSERNAMELEN 32
-#if defined(VMS) || defined(linux)
+#if defined(VMS) || defined(linux) || defined( __OpenBSD__ )
#define MAXNODENAMELEN (MAXPATHLEN+2)
#elif defined(SUNOS)
#define MAXNODENAMELEN 9