summaryrefslogtreecommitdiff
path: root/www/fhttpd/files/patch-ae
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-05-28 03:25:16 +0000
committerSteve Price <steve@FreeBSD.org>2000-05-28 03:25:16 +0000
commit875e2aad351515554be7c8c626e34b39cccb99ef (patch)
treedfb3c6db6346328829dc3eb342846314a6f58c94 /www/fhttpd/files/patch-ae
parentUpdate to version 0.4.3. (diff)
Don't add -O2 to CFLAGS. Make this port honor CFLAGS and CXXFLAGS. Fix
build for -current.
Notes
Notes: svn path=/head/; revision=28795
Diffstat (limited to '')
-rw-r--r--www/fhttpd/files/patch-ae18
1 files changed, 14 insertions, 4 deletions
diff --git a/www/fhttpd/files/patch-ae b/www/fhttpd/files/patch-ae
index 4870350a46aa..8f7bcf4418b0 100644
--- a/www/fhttpd/files/patch-ae
+++ b/www/fhttpd/files/patch-ae
@@ -1,6 +1,16 @@
---- sockobj.cc.orig Sat Jan 29 00:54:37 2000
-+++ sockobj.cc Sat Jan 29 00:55:34 2000
-@@ -645,7 +645,7 @@
+--- sockobj.cc.orig Sat May 15 06:13:54 1999
++++ sockobj.cc Sat May 27 14:57:47 2000
+@@ -53,6 +53,9 @@
+ #include <stdarg.h>
+ #include <errno.h>
+ #include <time.h>
++#if defined(__FreeBSD__) && __FreeBSD__ >= 5
++#include <machine/param.h> /* for ALIGN macro needed by CMSG_DATA */
++#endif
+ #include <sys/socket.h>
+ #include <sys/un.h>
+ #include <netinet/in.h>
+@@ -645,7 +648,7 @@
global_nconnections++;
if(xsocket->status==0){
hisaddresslength=128;
@@ -9,7 +19,7 @@
if(h<0) return;
hisaddress=(struct sockaddr*)malloc(hisaddresslength);
if(hisaddress) memcpy(hisaddress,s,hisaddresslength); else{
-@@ -1861,7 +1861,7 @@
+@@ -1861,7 +1864,7 @@
if(fdarray[sockets[i]->handleindexforwheel].revents&POLLIN){
fdarray[sockets[i]->handleindexforwheel].revents&=~POLLIN;
hisaddresslength=128;