aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-09-05 10:49:33 +0800
committerkris <kris@FreeBSD.org>2002-09-05 10:49:33 +0800
commitc55b03f3590feecefdd1af9d6a6fa29aec3770c9 (patch)
tree6b4f2874580e98dc333a383731b30ca17c2b421c /www
parent43a18240bf2878a945ca316821d28eb82ff42f4d (diff)
downloadfreebsd-ports-gnome-c55b03f3590feecefdd1af9d6a6fa29aec3770c9.tar.gz
freebsd-ports-gnome-c55b03f3590feecefdd1af9d6a6fa29aec3770c9.tar.zst
freebsd-ports-gnome-c55b03f3590feecefdd1af9d6a6fa29aec3770c9.zip
Respect CC and CXX, and don't depend on obsoleted header <values.h>
for a definition of BITSPERBYTE
Diffstat (limited to 'www')
-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 f0de05cf7601..b1ba191ba6e9 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 000000000000..cac87081a86d
--- /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;