cfengine/cfengine-3.10.0b1.patch

24 lines
1.2 KiB
Diff
Raw Normal View History

diff -ruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-cfengine-3.10.0b1/configure.ac ./configure.ac
--- ../orig-cfengine-3.10.0b1/configure.ac 2016-11-01 08:47:08.000000000 +0100
+++ ./configure.ac 2016-11-15 15:33:45.058052537 +0100
@@ -506,7 +506,7 @@
AC_CHECK_LIB(acl, acl_init,
[],
[if test "x$with_libacl" != xcheck; then AC_MSG_ERROR(Cannot find libacl library); fi])
- AC_CHECK_HEADERS([acl.h sys/acl.h acl/libacl.h],
+ AC_CHECK_HEADERS([sys/acl.h acl/libacl.h],
[libacl_header_found=yes],
[if test "x$with_libacl" != xcheck; then AC_MSG_ERROR(Cannot find libacl header files); fi])
])
diff -ruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-cfengine-3.10.0b1/libutils/platform.h ./libutils/platform.h
--- ../orig-cfengine-3.10.0b1/libutils/platform.h 2016-11-01 08:47:08.000000000 +0100
+++ ./libutils/platform.h 2016-11-15 15:49:14.789010435 +0100
@@ -75,6 +75,7 @@
#include <ctype.h>
#include <assert.h>
#include <stddef.h> /* offsetof, size_t */
+#include <time.h>
/* POSIX but available in all platforms. */
#include <strings.h>