Patch to build clearsilver-0.10.4 on Mac OS X 10.4.x

Sovande Ulv <[email protected]>
Newsgroups gmane.text.clearsilver.general
Message-ID <[email protected]>
diff -urN clearsilver-0.10.4/cgi/cgiwrap.c clearsilver-0.10.4.patched/ 
cgi/cgiwrap.c
--- clearsilver-0.10.4/cgi/cgiwrap.c	2006-03-29 02:12:37.000000000 +0200
+++ clearsilver-0.10.4.patched/cgi/cgiwrap.c	2007-06-23  
11:00:05.000000000 +0200
@@ -11,7 +11,9 @@

  #include "cs_config.h"

+#ifdef HAVE_FEATURES_H
  #include <features.h>
+#endif
  #include <stdarg.h>
  #include <stdio.h>
  #include <stdlib.h>
diff -urN clearsilver-0.10.4/configure.in clearsilver-0.10.4.patched/ 
configure.in
--- clearsilver-0.10.4/configure.in	2006-03-13 01:05:26.000000000 +0100
+++ clearsilver-0.10.4.patched/configure.in	2007-06-23  
11:00:05.000000000 +0200
@@ -26,7 +26,7 @@
  AC_HEADER_DIRENT
  AC_HEADER_STDC
  AC_HEADER_SYS_WAIT
-AC_CHECK_HEADERS(fcntl.h stdarg.h varargs.h limits.h strings.h sys/ 
ioctl.h sys/time.h unistd.h)
+AC_CHECK_HEADERS(fcntl.h stdarg.h varargs.h limits.h strings.h sys/ 
ioctl.h sys/time.h unistd.h features.h)

  dnl Checks for typedefs, structures, and compiler characteristics.
  AC_C_CONST
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.