I wrote:

> My changes to the current CVS on Sourceforge are attached.

Make that "were attached".  LISTSERV disallows attachments?  Here they
are again, inline:

Index: include/Makefile.global
===================================================================
RCS file: /cvsroot/aolserver/aolserver/include/Makefile.global,v
retrieving revision 1.29
diff -c -w -r1.29 Makefile.global
*** include/Makefile.global     2001/04/13 19:51:30     1.29
--- include/Makefile.global     2001/04/25 06:47:01
***************
*** 185,190 ****
--- 185,204 ----


  #
+ # NetBSD
+ #
+ ifneq (,$(findstring NetBSD,$(PLAT)))
+     PLATFORM=netbsd
+     CC=ptlgcc
+     CFLAGS+=$(GGCCOPT)
+     LDFLAGS+=-Wl,-E
+     RANLIB=ranlib
+     CFLAGS+=-D_THREAD_SAFE=1 -DHAVE_CMMSG=1 -DNO_TIMEZONE=1 -DHAVE_TIMEGM=1 
+-DNEED_HERRNO
+     NSDLIBS=-lm
+ endif
+
+
+ #
  # FreeBSD
  #
  ifneq (,$(findstring FreeBSD,$(PLAT)))
***************
*** 266,272 ****
  # Set the names of the Tcl libraries
  #
  TCL_DIR=tcl8.3.3
! TCL_LIB=libtcl8.3g.a
  LIBTCL=$(NSHOME)/$(TCL_DIR)/unix/$(TCL_LIB)

  #
--- 280,286 ----
  # Set the names of the Tcl libraries
  #
  TCL_DIR=tcl8.3.3
! TCL_LIB=libtcl83g.a
  LIBTCL=$(NSHOME)/$(TCL_DIR)/unix/$(TCL_LIB)

  #
Index: nsd/info.c
===================================================================
RCS file: /cvsroot/aolserver/aolserver/nsd/info.c,v
retrieving revision 1.1
diff -c -w -r1.1 info.c
*** nsd/info.c  2001/03/12 22:06:14     1.1
--- nsd/info.c  2001/04/25 06:47:01
***************
*** 204,209 ****
--- 204,211 ----

  #if defined(__linux)
      return "linux";
+ #elif defined(__NetBSD__)
+     return "netbsd";
  #elif defined(__FreeBSD__)
      return "freebsd";
  #elif defined(__OpenBSD__)
Index: nsd/tclenv.c
===================================================================
RCS file: /cvsroot/aolserver/aolserver/nsd/tclenv.c,v
retrieving revision 1.6
diff -c -w -r1.6 tclenv.c
*** nsd/tclenv.c        2001/03/28 01:08:33     1.6
--- nsd/tclenv.c        2001/04/25 06:47:01
***************
*** 38,43 ****
--- 38,47 ----

  #include      "nsd.h"

+ #ifdef __NetBSD__
+ #define _environ environ
+ #endif
+
  #ifndef WIN32
  extern char **_environ;
  #endif
Index: thread/reentrant.c
===================================================================
RCS file: /cvsroot/aolserver/aolserver/thread/reentrant.c,v
retrieving revision 1.8
diff -c -w -r1.8 reentrant.c
*** thread/reentrant.c  2001/03/13 23:04:55     1.8
--- thread/reentrant.c  2001/04/25 06:47:02
***************
*** 59,65 ****
  #endif
  } Tls;

! #ifdef MACOSX
  #define NO_REENTRANT  1
  char *strtok_r(char *s, const char *delim, char **last);
  #endif
--- 59,65 ----
  #endif
  } Tls;

! #if defined(__NetBSD__) || defined(MACOSX)
  #define NO_REENTRANT  1
  char *strtok_r(char *s, const char *delim, char **last);
  #endif
***************
*** 308,314 ****
  }


! #ifdef MACOSX

  /*
   * Copyright (c) 1998 Softweyr LLC.  All rights reserved.
--- 308,314 ----
  }


! #if defined(__NetBSD__) || defined(MACOSX)

  /*
   * Copyright (c) 1998 Softweyr LLC.  All rights reserved.

--
The basic difference is this: hackers build things, crackers break them.

Reply via email to