Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
fsarchiver
fsarchiver-attr.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fsarchiver-attr.patch of Package fsarchiver
--- fsarchiver-0.6.19.orig/src/oper_restore.c +++ fsarchiver-0.6.19/src/oper_restore.c @@ -19,12 +19,13 @@ # include "config.h" #endif +#include <errno.h> #include <unistd.h> #include <fcntl.h> #include <assert.h> #include <string.h> #include <stdlib.h> -#include <attr/xattr.h> +#include <sys/xattr.h> #include <sys/time.h> #include <sys/stat.h> #include <gcrypt.h> --- fsarchiver-0.6.19.orig/src/oper_save.c +++ fsarchiver-0.6.19/src/oper_save.c @@ -28,7 +28,8 @@ #include <sys/mount.h> #include <sys/statvfs.h> #include <sys/stat.h> -#include <attr/xattr.h> +#include <errno.h> +#include <sys/xattr.h> #include <zlib.h> #include <assert.h> #include <gcrypt.h> @@ -57,6 +58,10 @@ #include "error.h" #include "queue.h" +#ifndef ENOATTR +#define ENOATTR ENODATA +#endif + typedef struct s_savear { carchwriter ai; cregmulti regmulti; --- fsarchiver-0.6.19.orig/configure.ac +++ fsarchiver-0.6.19/configure.ac @@ -88,7 +88,7 @@ PKG_CHECK_MODULES([BLKID], [blkid]) PKG_CHECK_MODULES([UUID], [uuid]) dnl Check for header files installed with a library -AC_CHECK_HEADER([attr/xattr.h],, [AC_MSG_ERROR([attr/xattr.h not found. you may have to install a package called attr, libattr, libattr-devel])]) +AC_CHECK_HEADER([sys/xattr.h],, [AC_MSG_ERROR([sys/xattr.h not found. you may have to install a package called attr, libattr, libattr-devel])]) dnl Check for standard header files. AC_CHECK_HEADERS([malloc.h unistd.h pthread.h])
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