From 875e2aad351515554be7c8c626e34b39cccb99ef Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sun, 28 May 2000 03:25:16 +0000 Subject: Don't add -O2 to CFLAGS. Make this port honor CFLAGS and CXXFLAGS. Fix build for -current. --- www/fhttpd/files/patch-ae | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'www/fhttpd/files/patch-ae') 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 + #include + #include ++#if defined(__FreeBSD__) && __FreeBSD__ >= 5 ++#include /* for ALIGN macro needed by CMSG_DATA */ ++#endif + #include + #include + #include +@@ -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; -- cgit v1.2.3