summaryrefslogtreecommitdiffstats
path: root/www/fhttpd/files
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-09-05 02:49:33 +0000
committerkris <kris@FreeBSD.org>2002-09-05 02:49:33 +0000
commitc55b03f3590feecefdd1af9d6a6fa29aec3770c9 (patch)
tree6b4f2874580e98dc333a383731b30ca17c2b421c /www/fhttpd/files
parent43a18240bf2878a945ca316821d28eb82ff42f4d (diff)
downloadFreeBSD-ports-c55b03f3590feecefdd1af9d6a6fa29aec3770c9.zip
FreeBSD-ports-c55b03f3590feecefdd1af9d6a6fa29aec3770c9.tar.gz
Respect CC and CXX, and don't depend on obsoleted header <values.h>
for a definition of BITSPERBYTE
Diffstat (limited to 'www/fhttpd/files')
-rw-r--r--www/fhttpd/files/patch-ac15
-rw-r--r--www/fhttpd/files/patch-ai19
2 files changed, 32 insertions, 2 deletions
diff --git a/www/fhttpd/files/patch-ac b/www/fhttpd/files/patch-ac
index f0de05c..b1ba191 100644
--- a/www/fhttpd/files/patch-ac
+++ b/www/fhttpd/files/patch-ac
@@ -1,5 +1,16 @@
---- Makefile.orig Mon Apr 19 12:38:56 1999
-+++ Makefile Sat May 27 14:51:57 2000
+--- Makefile.orig Mon Apr 19 10:38:56 1999
++++ Makefile Wed Sep 4 19:46:45 2002
+@@ -10,8 +10,8 @@
+
+ # Default compilers and linker
+
+-CC = gcc
+-CXX = g++
++CC ?= cc
++CXX ?= c++
+ LD = $(CXX)
+
+ # OS-dependent definitions (choose one and adjust, if necessary)
@@ -99,21 +99,21 @@
## for Linux (glibc2/libc 6):
diff --git a/www/fhttpd/files/patch-ai b/www/fhttpd/files/patch-ai
new file mode 100644
index 0000000..cac8708
--- /dev/null
+++ b/www/fhttpd/files/patch-ai
@@ -0,0 +1,19 @@
+--- pseudopoll.c.orig Wed Sep 4 19:45:04 2002
++++ pseudopoll.c Wed Sep 4 19:45:19 2002
+@@ -7,7 +7,6 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <limits.h>
+-#include <values.h>
+ #include <sys/types.h>
+ #include <sys/time.h>
+ #include <sys/poll.h>
+@@ -15,6 +14,8 @@
+ #ifdef NEED_SELECT_H
+ #include <sys/select.h>
+ #endif
++
++#define BITSPERBYTE 8
+
+ static char *readfds_c=NULL;
+ static char *writefds_c=NULL;
OpenPOWER on IntegriCloud