httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@hyperreal.com>
Subject Patches for apache-1.2b2 on NeXTSTEP 3.3 (fwd)
Date Thu, 12 Dec 1996 19:53:00 GMT

Omnigroup does a lot of NeXT software development still, so I trust these
guys.

	Brian

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@hyperreal.com     http://www.apache.org     http://www.organic.com/jobs

---------- Forwarded message ----------
Date: Thu, 12 Dec 96 02:49:46 -0800
From: William Lewis <wiml@omnigroup.com>
To: new-httpd@hyperreal.com
Subject: Patches for apache-1.2b2 on NeXTSTEP 3.3

Hi, following are the changes necessary to get Apache to compile on a  
machine running NeXTSTEP 3.3 (in my case an HP 712). This is mostly just  
updating the old NeXT support that was already in there (but which probably  
hasn't been tested for a few revisions.)

diff -c -b -r apache_1.2b2/src/conf.h apache_1.2b2-patched/src/conf.h
*** apache_1.2b2/src/conf.h	Sun Dec  8 21:00:42 1996
--- apache_1.2b2-patched/src/conf.h	Thu Dec 12 02:17:07 1996
***************
*** 153,158 ****
--- 153,159 ----
  #elif defined(NEXT)
  #include <libc.h>
  typedef unsigned short mode_t;
+ typedef int rlim_t;
  #define HAVE_GMTOFF
  #undef NO_KILLPG
  #define NO_SETSID
diff -c -b -r apache_1.2b2/src/helpers/GuessOS  
apache_1.2b2-patched/src/helpers/GuessOS
*** apache_1.2b2/src/helpers/GuessOS	Sun Dec  8 21:00:49 1996
--- apache_1.2b2-patched/src/helpers/GuessOS	Thu Dec 12 02:23:25 1996
***************
*** 186,192 ****
  ISNEXT=`hostinfo 2>/dev/null`
  case "$ISNEXT" in
      *NeXT*)
! 	echo "whatever-next-nextstep"; exit 0
  	;;
  esac

--- 186,192 ----
  ISNEXT=`hostinfo 2>/dev/null`
  case "$ISNEXT" in
      *NeXT*)
! 	echo `arch`"-next-nextstep"; exit 0
  	;;
  esac

diff -c -b -r apache_1.2b2/src/http_bprintf.c  
apache_1.2b2-patched/src/http_bprintf.c
*** apache_1.2b2/src/http_bprintf.c	Sun Nov  3 12:36:34 1996
--- apache_1.2b2-patched/src/http_bprintf.c	Thu Dec 12 02:18:01 1996
***************
*** 30,37 ****
--- 30,39 ----
  #define LONG_DOUBLE	long double
  #endif

+ #ifndef FALSE
  #define FALSE	0
  #define TRUE	1
+ #endif

  #define PRINTF_BUFFLEN 100
      /*
diff -c -b -r apache_1.2b2/src/http_main.c apache_1.2b2-patched/src/http_main.c
*** apache_1.2b2/src/http_main.c	Mon Dec  9 17:11:58 1996
--- apache_1.2b2-patched/src/http_main.c	Thu Dec 12 02:19:18 1996
***************
*** 105,110 ****
--- 105,113 ----
  #include <sys/audit.h>
  #include <prot.h>
  #endif
+ #ifdef NeXT
+ #include <netinet/in_systm.h>  /* for n_long, used in netinet/ip.h */
+ #endif
  #include <netinet/tcp.h>

  #include "explain.h"







Mime
View raw message