forked from Lainports/freebsd-ports
I'm not entirely sure why it compiles on 7.x/8.x, but nevertheless, the autoconf-specific parts to these patches absolutely need to go upstream.
12 lines
412 B
Text
12 lines
412 B
Text
--- ./lib/replace/libreplace.m4.orig 2010-05-10 07:58:53.000000000 -0500
|
|
+++ ./lib/replace/libreplace.m4 2010-09-24 17:13:45.000000000 -0500
|
|
@@ -103,3 +103,8 @@
|
|
AC_CHECK_HEADERS(stdarg.h vararg.h)
|
|
-AC_CHECK_HEADERS(sys/mount.h mntent.h)
|
|
+AC_CHECK_HEADERS([sys/param.h sys/mount.h], [], [],
|
|
+[[#ifdef HAVE_SYS_PARAM_H
|
|
+#include <sys/param.h>
|
|
+#endif
|
|
+]])
|
|
+AC_CHECK_HEADERS(mntent.h)
|
|
AC_CHECK_HEADERS(stropts.h)
|