Hi, Here is a now even simpler patch which makes apache build and run fine. Could you _please_ apply it on next upload? (it basically just _can't_ affect any other archs)
Samuel
diff -urN apache-1.3.34/debian/patches/012_hurd_compile_fix_for_upstream apache-1.3.34-hurd/debian/patches/012_hurd_compile_fix_for_upstream --- apache-1.3.34/debian/patches/012_hurd_compile_fix_for_upstream 2007-01-17 00:12:39.000000000 +0100 +++ apache-1.3.34-hurd/debian/patches/012_hurd_compile_fix_for_upstream 2007-01-17 00:14:20.000000000 +0100 @@ -1,7 +1,7 @@ diff -ruN -x Makefile.in -x configure -x *~ -x apache_1.3.20.orig apache_1.3.20.orig/src/include/ap_config.h apache_1.3.20/src/include/ap_config.h --- build-tree/apache_1.3.34/src/include/ap_config.h Thu Apr 5 20:13:11 2001 +++ build-tree/apache_1.3.34/src/include/ap_config.h Tue Jun 12 12:53:24 2001 -@@ -503,6 +503,13 @@ +@@ -503,6 +503,20 @@ typedef int rlim_t; #endif @@ -10,6 +10,13 @@ +#define HAVE_MMAP 1 +#define USE_MMAP_FILES 1 +#define USE_MMAP_SCOREBOARD 1 ++#define HAVE_FCNTL_SERIALIZED_ACCEPT ++#define HAVE_GMTOFF 1 ++#undef NO_KILLPG ++#undef NO_SETSID ++#undef NEED_STRDUP ++#define AP_ENABLE_EXCEPTION_HOOK ++#define NET_SIZE_T socklen_t +#include <sys/time.h> + #elif defined(SCO) diff -urN apache-1.3.34/debian/patches/022_backtrace_gnukfreebsd apache-1.3.34-hurd/debian/patches/022_backtrace_gnukfreebsd --- apache-1.3.34/debian/patches/022_backtrace_gnukfreebsd 2007-01-17 00:12:39.000000000 +0100 +++ apache-1.3.34-hurd/debian/patches/022_backtrace_gnukfreebsd 2007-01-16 23:13:08.000000000 +0100 @@ -5,7 +5,7 @@ */ -#if !defined(__linux__) && !defined(__FreeBSD__) -+#if !defined(__linux__) && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) ++#if !defined(__linux__) && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) && !defined(__GNU__) #error This module is currently only implemented for Linux and FreeBSD. #endif