|
|
@@ -1,8 +1,35 @@
|
|
|
---- pound.h.orig 2005-09-28 15:54:27.468707000 +0200
|
|
|
-+++ pound.h 2005-09-28 17:52:20.687744806 +0200
|
|
|
-@@ -84,6 +84,12 @@
|
|
|
- #include "config.h"
|
|
|
+Index: Makefile.in
|
|
|
+--- Makefile.in.orig 2006-12-06 18:32:18 +0100
|
|
|
++++ Makefile.in 2006-12-07 09:12:24 +0100
|
|
|
+@@ -44,7 +44,7 @@
|
|
|
+ ${CC} @LDFLAGS@ -o pound $(OBJS) $(LIBS)
|
|
|
+
|
|
|
+ poundctl: poundctl.o
|
|
|
+- ${CC} -o poundctl poundctl.o $(LIBS)
|
|
|
++ ${CC} @LDFLAGS@ -o poundctl poundctl.o $(LIBS)
|
|
|
+
|
|
|
+ $(OBJS): pound.h
|
|
|
+
|
|
|
+Index: http.c
|
|
|
+--- http.c.orig 2006-12-06 18:32:18 +0100
|
|
|
++++ http.c 2006-12-07 09:12:24 +0100
|
|
|
+@@ -29,6 +29,10 @@
|
|
|
+
|
|
|
+ #include "pound.h"
|
|
|
+
|
|
|
++#ifndef SOL_TCP
|
|
|
++#define SOL_TCP SOL_SOCKET
|
|
|
++#endif
|
|
|
++
|
|
|
+ /* HTTP error replies */
|
|
|
+ static char *h500 = "500 Internal Server Error",
|
|
|
+ *h501 = "501 Not Implemented",
|
|
|
+Index: pound.h
|
|
|
+--- pound.h.orig 2006-12-06 18:32:18 +0100
|
|
|
++++ pound.h 2006-12-07 09:12:24 +0100
|
|
|
+@@ -31,6 +31,12 @@
|
|
|
#include <stdio.h>
|
|
|
+ #include <math.h>
|
|
|
|
|
|
+#if HAVE_PTHREAD_H
|
|
|
+#include <pthread.h>
|
|
|
@@ -13,7 +40,7 @@
|
|
|
#if HAVE_STDLIB_H
|
|
|
#include <stdlib.h>
|
|
|
#else
|
|
|
-@@ -100,12 +106,6 @@
|
|
|
+@@ -47,12 +53,6 @@
|
|
|
#include <getopt.h>
|
|
|
#endif
|
|
|
|
|
|
@@ -26,15 +53,3 @@
|
|
|
#if HAVE_STRING_H
|
|
|
#include <string.h>
|
|
|
#else
|
|
|
-Index: Makefile.in
|
|
|
---- Makefile.in.orig 2006-10-28 09:38:58 +0200
|
|
|
-+++ Makefile.in 2006-10-28 09:41:08 +0200
|
|
|
-@@ -44,7 +44,7 @@
|
|
|
- ${CC} @LDFLAGS@ -o pound $(OBJS) $(LIBS)
|
|
|
-
|
|
|
- poundctl: poundctl.o
|
|
|
-- ${CC} -o poundctl poundctl.o
|
|
|
-+ ${CC} @LDFLAGS@ -o poundctl poundctl.o $(LIBS)
|
|
|
-
|
|
|
- $(OBJS): pound.h
|
|
|
-
|