File rsync-no-libattr.patch of Package rsync.21924

--- rsync-3.1.1.orig/configure.ac
+++ rsync-3.1.1/configure.ac
@@ -1050,7 +1050,7 @@ else
 	AC_DEFINE(HAVE_LINUX_XATTRS, 1, [True if you have Linux xattrs (or equivalent)])
 	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)
openSUSE Build Service is sponsored by