diff options
Diffstat (limited to 'meta/recipes-devtools/rsync/files/check_libattr.patch')
-rw-r--r-- | meta/recipes-devtools/rsync/files/check_libattr.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rsync/files/check_libattr.patch b/meta/recipes-devtools/rsync/files/check_libattr.patch new file mode 100644 index 0000000000..cb159faf76 --- /dev/null +++ b/meta/recipes-devtools/rsync/files/check_libattr.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 677c6e14cc7d5f41371d5616865a5f0cfc0a273f Mon Sep 17 00:00:00 2001 | ||
2 | From: Wayne Davison <wayned@samba.org> | ||
3 | Date: Mon, 5 May 2014 09:25:13 -0700 | ||
4 | Subject: [PATCH] Check for attr lib. | ||
5 | |||
6 | --- | ||
7 | configure.ac | 3 ++- | ||
8 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
9 | |||
10 | diff --git a/configure.ac b/configure.ac | ||
11 | index c7b28c5..8e3703c 100644 | ||
12 | --- a/configure.ac | ||
13 | +++ b/configure.ac | ||
14 | @@ -1007,7 +1007,7 @@ else | ||
15 | *) | ||
16 | AC_MSG_RESULT(running tests:) | ||
17 | AC_CHECK_LIB(acl,acl_get_file) | ||
18 | - AC_CACHE_CHECK([for ACL support],samba_cv_HAVE_POSIX_ACLS,[ | ||
19 | + AC_CACHE_CHECK([for ACL support],samba_cv_HAVE_POSIX_ACLS,[ | ||
20 | AC_TRY_LINK([#include <sys/types.h> | ||
21 | #include <sys/acl.h>], | ||
22 | [ acl_t acl; int entry_id; acl_entry_t *entry_p; return acl_get_entry( acl, entry_id, entry_p);], | ||
23 | @@ -1057,6 +1057,7 @@ else | ||
24 | AC_DEFINE(HAVE_LINUX_XATTRS, 1, [True if you have Linux xattrs]) | ||
25 | AC_DEFINE(SUPPORT_XATTRS, 1) | ||
26 | AC_DEFINE(NO_SYMLINK_USER_XATTRS, 1, [True if symlinks do not support user xattrs]) | ||
27 | + AC_CHECK_LIB(attr,getxattr) | ||
28 | ;; | ||
29 | darwin*) | ||
30 | AC_MSG_RESULT(Using OS X xattrs) | ||
31 | -- | ||
32 | 1.9.1 | ||
33 | |||