Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.2:Update
dar
dar-use-libc-xattr.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dar-use-libc-xattr.patch of Package dar
diff -Nru dar-2.4.14.orig/configure.ac dar-2.4.14/configure.ac --- dar-2.4.14.orig/configure.ac 2014-06-15 18:43:40.000000000 +0200 +++ dar-2.4.14/configure.ac 2014-06-26 13:14:05.789271140 +0200 @@ -336,15 +336,15 @@ [ AC_MSG_CHECKING([for Extended Attribute support]) AC_MSG_RESULT([disabled]) ], - [ AC_CHECK_HEADERS([attr/xattr.h]) - AC_CHECK_LIB(attr, [lgetxattr], [], []) + [ AC_CHECK_HEADERS([sys/xattr.h]) + AC_SEARCH_LIBS([lgetxattr], [attr]) AC_MSG_CHECKING([for Unix Extended Attribute support]) AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern "C" { #if HAVE_SYS_TYPES_H #include <sys/types.h> #endif - #if HAVE_ATTR_XATTR_H - #include <attr/xattr.h> + #if HAVE_SYS_XATTR_H + #include <sys/xattr.h> #endif }]], [ lgetxattr((char *)0, (char *)0, (void *)0, 0); ]) diff -Nru dar-2.4.14.orig/src/libdar/ea_filesystem.cpp dar-2.4.14/src/libdar/ea_filesystem.cpp --- dar-2.4.14.orig/src/libdar/ea_filesystem.cpp 2014-06-15 13:12:18.000000000 +0200 +++ dar-2.4.14/src/libdar/ea_filesystem.cpp 2014-06-26 13:13:35.549533341 +0200 @@ -61,6 +61,10 @@ #endif } // end extern "C" +#ifndef ENOATTR +# define ENOATTR ENODATA /* No such attribute */ +#endif + #include "ea_filesystem.hpp" #include "ea.hpp" #include "tools.hpp"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor