File aide-xattr-in-libc.patch of Package aide

Index: aide-0.16/configure.ac
===================================================================
--- aide-0.16.orig/configure.ac
+++ aide-0.16/configure.ac
@@ -536,7 +536,7 @@ AC_ARG_WITH([xattr],
 	
 AS_IF([test "x$with_xattr_support" != xno],
 	[AC_DEFINE(WITH_XATTR,1,[use xattr])
-	ATTRLIB=-lattr
+	ATTRLIB=
 	compoptionstring="${compoptionstring}WITH_XATTR\\n"
 	aideextragroups="${aideextragroups}+xattrs"
 	AC_MSG_RESULT(yes)],
Index: aide-0.16/include/db_config.h
===================================================================
--- aide-0.16.orig/include/db_config.h
+++ aide-0.16/include/db_config.h
@@ -62,7 +62,6 @@ typedef struct acl_type {
 
 #ifdef WITH_XATTR /* Do generic user Xattrs. */
 #include <sys/xattr.h>
-#include <attr/xattr.h>
 #endif
 
 typedef struct xattr_node 
openSUSE Build Service is sponsored by