summaryrefslogtreecommitdiff
path: root/www/twhttpd/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/twhttpd/files')
-rw-r--r--www/twhttpd/files/patch-aa11
-rw-r--r--www/twhttpd/files/patch-ab16
-rw-r--r--www/twhttpd/files/patch-ac11
-rw-r--r--www/twhttpd/files/patch-ad11
4 files changed, 49 insertions, 0 deletions
diff --git a/www/twhttpd/files/patch-aa b/www/twhttpd/files/patch-aa
new file mode 100644
index 000000000000..919d055e56f1
--- /dev/null
+++ b/www/twhttpd/files/patch-aa
@@ -0,0 +1,11 @@
+--- config.h.orig Sat Aug 31 05:40:23 2002
++++ config.h Wed Sep 25 12:01:58 2002
+@@ -31,7 +31,7 @@
+ #define CURRENT_DIR "./"
+ #define DEFAULT_CACHE_DIR ".cache"
+ #define DEFAULT_COOKIE_DIR ".cookie"
+-#define DEFAULT_CONFIG_FILE "/etc/twhttpd.cfg"
++#define DEFAULT_CONFIG_FILE "/usr/local/etc/twhttpd.cfg"
+
+ #define SOCKET_TIMEOUT 45 /* socket timeout value */
+ #define CONNECT_TIMEOUT 15 /* connect timeout value */
diff --git a/www/twhttpd/files/patch-ab b/www/twhttpd/files/patch-ab
new file mode 100644
index 000000000000..21c2a4f895ab
--- /dev/null
+++ b/www/twhttpd/files/patch-ab
@@ -0,0 +1,16 @@
+--- httplog.c.orig Sat Dec 8 15:15:44 2001
++++ httplog.c Wed Sep 25 12:02:28 2002
+@@ -40,6 +40,7 @@
+ #include <time.h>
+ #include <stdio.h>
+ #include <syslog.h>
++#include <arpa/inet.h>
+ #include <netinet/in.h>
+ #include <sys/time.h>
+ #include <sys/socket.h>
+@@ -151,4 +152,4 @@
+ }
+ }
+ }
+-}
++}
diff --git a/www/twhttpd/files/patch-ac b/www/twhttpd/files/patch-ac
new file mode 100644
index 000000000000..a663815b5f49
--- /dev/null
+++ b/www/twhttpd/files/patch-ac
@@ -0,0 +1,11 @@
+--- twhttpd.c.orig Sat Aug 31 05:16:35 2002
++++ twhttpd.c Wed Sep 25 12:02:49 2002
+@@ -33,7 +33,7 @@
+ #include <signal.h>
+ #include <time.h>
+ #include <unistd.h>
+-#include <wait.h>
++#include <sys/wait.h>
+ #include <netinet/in.h>
+ #include <sys/socket.h>
+ #include <sys/types.h>
diff --git a/www/twhttpd/files/patch-ad b/www/twhttpd/files/patch-ad
new file mode 100644
index 000000000000..3d5ace1c5058
--- /dev/null
+++ b/www/twhttpd/files/patch-ad
@@ -0,0 +1,11 @@
+--- configure.in.orig Wed Sep 25 12:41:35 2002
++++ configure.in Wed Sep 25 12:41:44 2002
+@@ -8,7 +8,7 @@
+ AC_PROG_LEX
+
+ dnl Checks for libraries.
+-AC_CHECK_LIB(pwdb, crypt)
++AC_CHECK_LIB(crypt, crypt)
+ AC_CHECK_LIB(socket, bind)
+ AC_CHECK_LIB(nsl, gethostbyname)
+