Package: mini-httpd
Severity: important
Version: 1.19-8
Tags: patch
User: [EMAIL PROTECTED]
Usertags: kfreebsd


Hi,

the current version fails to build on GNU/kFreeBSD,
kernel from FreeBSD with glibc based userspace.

It needs entry in port.h, see bellow.

It would also be nice if you can ask upstream
to include this changes.

Thanks in advance

                        Petr


--- port.h~     2008-09-09 15:37:08.000000000 +0000
+++ port.h      2008-09-09 15:37:08.000000000 +0000
@@ -21,6 +21,9 @@
 #elif defined(__svr4__)
 # define OS_SysV
 # define ARCH "SysV"
+#elif defined(__GLIBC__)
+# define OS_GLIBC
+# define ARCH "GLIBC"
 #else
 # define OS_UNKNOWN
 # define ARCH "UNKNOWN"
@@ -80,6 +83,15 @@
 # define HAVE_INT64T
 #endif /* OS_Linux */

+#ifdef OS_GLIBC
+# define HAVE_DAEMON
+# define HAVE_SETSID
+# define HAVE_WAITPID
+# define HAVE_TM_GMTOFF
+# define HAVE_SCANDIR
+# define HAVE_INT64T
+#endif /* OS_GLIBC */
+
 #ifdef OS_Solaris
 # define HAVE_SETSID
 # define HAVE_WAITPID




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to