Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
dar
dar-use-libc-xattr.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dar-use-libc-xattr.patch of Package dar
Index: dar-2.4.18/configure.ac =================================================================== --- dar-2.4.18.orig/configure.ac +++ dar-2.4.18/configure.ac @@ -350,15 +350,15 @@ AC_ARG_ENABLE( [ea-support], [ 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); ]) Index: dar-2.4.18/src/libdar/ea_filesystem.cpp =================================================================== --- dar-2.4.18.orig/src/libdar/ea_filesystem.cpp +++ dar-2.4.18/src/libdar/ea_filesystem.cpp @@ -61,6 +61,10 @@ char *strchr (), *strrchr (); #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