Hello community, here is the log from the commit of package fsarchiver for openSUSE:Factory checked in at 2014-10-18 09:08:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fsarchiver (Old) and /work/SRC/openSUSE:Factory/.fsarchiver.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fsarchiver" Changes: -------- --- /work/SRC/openSUSE:Factory/fsarchiver/fsarchiver.changes 2014-03-04 13:24:33.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.fsarchiver.new/fsarchiver.changes 2014-10-18 09:08:58.000000000 +0200 @@ -1,0 +2,7 @@ +Sun Oct 12 14:48:05 UTC 2014 - [email protected] + +- Add fsarchiver-attr.patch: remove dependency on libattr..it was + never linked anyway, things still worked because glibc provides + the same interface. + +------------------------------------------------------------------- New: ---- fsarchiver-attr.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fsarchiver.spec ++++++ --- /var/tmp/diff_new_pack.PqYJwa/_old 2014-10-18 09:08:59.000000000 +0200 +++ /var/tmp/diff_new_pack.PqYJwa/_new 2014-10-18 09:08:59.000000000 +0200 @@ -27,9 +27,10 @@ Source1: HOWTO # PATCH-FIX-UPSTREAM Remove conflicting uses of reserved identifiers Patch0: fsarchiver-types.patch +Patch1: fsarchiver-attr.patch BuildRequires: e2fsprogs-devel -BuildRequires: libattr-devel BuildRequires: libgcrypt-devel +BuildRequires: libtool BuildRequires: lzo-devel BuildRequires: pkg-config BuildRequires: pkgconfig(bzip2) @@ -50,11 +51,13 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 cp -p %{SOURCE1} . %build +autoreconf -fiv %configure -make %{?_smp_mflags} +make %{?_smp_mflags} V=1 %install %makeinstall ++++++ fsarchiver-attr.patch ++++++ --- 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]) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
