aboutsummaryrefslogtreecommitdiff
path: root/www/fhttpd
diff options
context:
space:
mode:
Diffstat (limited to 'www/fhttpd')
-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;