SHA256
1
0
forked from pool/rsync
rsync/rsync-no-libattr.patch
Marcus Meissner c62c1a7a45 Accepting request 287612 from home:elvigia:branches:network
- rsync-no-libattr.patch: Use AC_SEARCH_LIBS([getxattr], [attr])
  instead of AC_CHECK_LIB(attr,getxattr) so libattr is 
  not injected as a dependency when glibc is enough since
  several years to use getxattr.

OBS-URL: https://build.opensuse.org/request/show/287612
OBS-URL: https://build.opensuse.org/package/show/network/rsync?expand=0&rev=43
2015-02-25 08:07:47 +00:00

12 lines
395 B
Diff

--- rsync-3.1.1.orig/configure.ac
+++ rsync-3.1.1/configure.ac
@@ -1082,7 +1082,7 @@ else
AC_DEFINE(HAVE_LINUX_XATTRS, 1, [True if you have Linux xattrs])
AC_DEFINE(SUPPORT_XATTRS, 1)
AC_DEFINE(NO_SYMLINK_USER_XATTRS, 1, [True if symlinks do not support user xattrs])
- AC_CHECK_LIB(attr,getxattr)
+ AC_SEARCH_LIBS([getxattr], [attr])
;;
darwin*)
AC_MSG_RESULT(Using OS X xattrs)