To my surprise, XEmacs mostly seems to build without freebsd.h, which we
would like to get rid of because of license issue.
So I suggest zapping freebsd.h (not shown here), and applying the
attached patch. I'll wait until Monday or so before pushing.
2011-01-15 Mike Sperber <mike(a)xemacs.org>
* configure.ac: Zap obsolete test for FreeBSD.
2011-01-15 Mike Sperber <mike(a)xemacs.org>
* fakemail.c: #include <osreldate.h> on FreeBSD, since we no
longer have freebsd.h.
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -1415,7 +1415,6 @@
case "$ac_cv_build" in
*-mach* ) opsys=mach-bsd4-3 ;;
*-sysv5* ) opsys=sco7 ;;
- *-freebsd* ) opsys=freebsd ;;
*-pc-cygwin* ) opsys=cygwin32 ;;
*-pc-mingw* ) opsys=mingw32 ;
test -z "$with_tty" && with_tty="no";;
diff --git a/lib-src/fakemail.c b/lib-src/fakemail.c
--- a/lib-src/fakemail.c
+++ b/lib-src/fakemail.c
@@ -146,6 +146,10 @@
extern char *malloc (), *realloc ();
#endif
+#if defined(__FreeBSD__)
+#include <osreldate.h>
+#endif
+
#if defined(__FreeBSD_version) && __FreeBSD_version >= 400000
#define CURRENT_USER
#endif
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches