]> git.pld-linux.org Git - packages/boa.git/blobdiff - boa-PLD.patch
- Requires for rc-scripts changed to Prereq.
[packages/boa.git] / boa-PLD.patch
index 2737525c75ac16e649d666ac890f01474c5acc3d..9c887c33627d25a46c54c664f3f94c99853ff80c 100644 (file)
@@ -58,15 +58,28 @@ diff -bruN boa-0.94.8.2/boa.conf boa-0.94.8.2.pld/boa.conf
 diff -bruN boa-0.94.8.2/src/Makefile.in boa-0.94.8.2.pld/src/Makefile.in
 --- boa-0.94.8.2/src/Makefile.in       Sat Feb 12 22:52:45 2000
 +++ boa-0.94.8.2.pld/src/Makefile.in   Sun Sep 10 04:37:16 2000
-@@ -13,7 +13,7 @@
+@@ -12,7 +12,7 @@
  # Add -pg to CFLAGS and LDFLAGS to get profiling output with gcc/gprof
  
- LDFLAGS = @LIBS@ -g 
+-LDFLAGS = @LIBS@ -g 
 -CFLAGS = -O -Wall -g
-+CFLAGS = $(RPM_OPT_FLAGS) -DINET6
++LDFLAGS = @LDFLAGS@
++CFLAGS = @CFLAGS@
  
  # Change these if necessary
  
+diff -bruN boa-0.94.8.2/src/compat.h boa-0.94.8.2.pld/src/compat.h
+--- boa-0.94.8.2/src/compat.h  Mon Apr 10 21:45:57 2000
++++ boa-0.94.8.2.pld/src/compat.h      Sun Sep 10 05:02:16 2000
+@@ -71,7 +71,7 @@
+ #ifdef INET6
+ #define SOCKADDR sockaddr_storage
+-#define S_FAMILY __s_family
++#define S_FAMILY __ss_family
+ #define SERVER_AF AF_INET6
+ #else
+ #define SOCKADDR sockaddr_in
 diff -bruN boa-0.94.8.2/src/defines.h boa-0.94.8.2.pld/src/defines.h
 --- boa-0.94.8.2/src/defines.h Mon May  1 22:33:25 2000
 +++ boa-0.94.8.2.pld/src/defines.h     Sun Sep 10 04:38:02 2000
@@ -91,3 +104,17 @@ diff -bruN boa-0.94.8.2/src/ip.c boa-0.94.8.2.pld/src/ip.c
      }
  #ifdef WHEN_DOES_THIS_APPLY
      if ((s->__ss_family == AF_INET6) &&
+diff -bruN boa-0.94.8.2/src/request.c boa-0.94.8.2.pld/src/request.c
+--- boa-0.94.8.2/src/request.c Fri May 26 04:46:03 2000
++++ boa-0.94.8.2.pld/src/request.c     Sun Sep 10 04:58:44 2000
+@@ -186,7 +186,10 @@
+     ascii_sockaddr(&remote_addr, conn->remote_ip_addr, NI_MAXHOST);
+     /* for possible use by CGI programs */
++    /* the structure doesn't contain port
+     conn->remote_port = ntohs(remote_addr.sin_port);
++     */
++    conn->remote_port = 0;
+     status.requests++;
This page took 0.033691 seconds and 4 git commands to generate.