From ae5a14a7cebec6b547cb933646e0a4aa48dbb283 Mon Sep 17 00:00:00 2001 From: "Chris D. Faulhaber" Date: Thu, 13 Jul 2000 23:00:46 +0000 Subject: [PATCH] Fix invalid (and unnecessary) check for the FreeBSD version. Verified to build on RELENG_3 and RELENG_4 Noticed by: bento --- www/fhttpd/files/patch-ae | 12 +++++------- www/fhttpd/files/patch-ag | 8 +++----- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/www/fhttpd/files/patch-ae b/www/fhttpd/files/patch-ae index 8f7bcf4418b0..638f7ecc7971 100644 --- a/www/fhttpd/files/patch-ae +++ b/www/fhttpd/files/patch-ae @@ -1,16 +1,14 @@ ---- sockobj.cc.orig Sat May 15 06:13:54 1999 -+++ sockobj.cc Sat May 27 14:57:47 2000 -@@ -53,6 +53,9 @@ +--- sockobj.cc.orig Sat May 15 07:13:54 1999 ++++ sockobj.cc Thu Jul 13 18:50:19 2000 +@@ -53,6 +53,7 @@ #include #include #include -+#if defined(__FreeBSD__) && __FreeBSD__ >= 5 +#include /* for ALIGN macro needed by CMSG_DATA */ -+#endif #include #include #include -@@ -645,7 +648,7 @@ +@@ -645,7 +646,7 @@ global_nconnections++; if(xsocket->status==0){ hisaddresslength=128; @@ -19,7 +17,7 @@ if(h<0) return; hisaddress=(struct sockaddr*)malloc(hisaddresslength); if(hisaddress) memcpy(hisaddress,s,hisaddresslength); else{ -@@ -1861,7 +1864,7 @@ +@@ -1861,7 +1862,7 @@ if(fdarray[sockets[i]->handleindexforwheel].revents&POLLIN){ fdarray[sockets[i]->handleindexforwheel].revents&=~POLLIN; hisaddresslength=128; diff --git a/www/fhttpd/files/patch-ag b/www/fhttpd/files/patch-ag index f08fc28d0184..64d4db8f0df0 100644 --- a/www/fhttpd/files/patch-ag +++ b/www/fhttpd/files/patch-ag @@ -1,12 +1,10 @@ ---- servproc.h.orig Sat May 27 15:00:37 2000 -+++ servproc.h Sat May 27 15:00:58 2000 -@@ -29,6 +29,9 @@ +--- servproc.h.orig Wed Apr 7 09:44:22 1999 ++++ servproc.h Thu Jul 13 18:53:55 2000 +@@ -29,6 +29,7 @@ #endif #include #include -+#if defined(__FreeBSD__) && __FreeBSD__ >= 5 +#include /* for ALIGN macro needed by CMSG_DATA */ -+#endif #include #include #include