]> git.pld-linux.org Git - packages/zfs.git/blob - xattr-in-glibc.patch
- one randstruct fix still needed
[packages/zfs.git] / xattr-in-glibc.patch
1 --- zfs-0.7.3/tests/zfs-tests/cmd/xattrtest/xattrtest.c~        2017-10-18 23:43:13.000000000 +0200
2 +++ zfs-0.7.3/tests/zfs-tests/cmd/xattrtest/xattrtest.c 2017-11-18 17:15:18.389310337 +0100
3 @@ -37,7 +37,7 @@
4  #include <fcntl.h>
5  #include <time.h>
6  #include <unistd.h>
7 -#include <attr/xattr.h>
8 +#include <sys/xattr.h>
9  #include <sys/types.h>
10  #include <sys/wait.h>
11  #include <sys/stat.h>
12 --- zfs-0.7.3/tests/zfs-tests/cmd/mktree/mktree.c~      2017-10-18 23:43:13.000000000 +0200
13 +++ zfs-0.7.3/tests/zfs-tests/cmd/mktree/mktree.c       2017-11-18 17:15:46.816754985 +0100
14 @@ -30,7 +30,7 @@
15  #include <unistd.h>
16  #include <string.h>
17  #include <fcntl.h>
18 -#include <attr/xattr.h>
19 +#include <sys/xattr.h>
20  #include <sys/stat.h>
21  #include <sys/types.h>
22  #include <sys/param.h>
23 --- zfs-0.7.3/config/user-libattr.m4    2017-10-18 23:43:14.000000000 +0200
24 +++ /dev/null   2017-11-04 00:31:38.176382048 +0100
25 @@ -1,12 +0,0 @@
26 -dnl #
27 -dnl # Check for libattr
28 -dnl #
29 -AC_DEFUN([ZFS_AC_CONFIG_USER_LIBATTR], [
30 -       LIBATTR=
31 -
32 -       AC_CHECK_HEADER([attr/xattr.h], [], [AC_MSG_FAILURE([
33 -       *** attr/xattr.h missing, libattr-devel package required])])
34 -
35 -       AC_SUBST([LIBATTR], ["-lattr"])
36 -       AC_DEFINE([HAVE_LIBATTR], 1, [Define if you have libattr])
37 -])
38 --- zfs-0.7.3/config/user.m4~   2017-10-18 23:43:14.000000000 +0200
39 +++ zfs-0.7.3/config/user.m4    2017-11-18 17:17:18.399261345 +0100
40 @@ -11,7 +11,6 @@
41         ZFS_AC_CONFIG_USER_LIBUUID
42         ZFS_AC_CONFIG_USER_LIBTIRPC
43         ZFS_AC_CONFIG_USER_LIBBLKID
44 -       ZFS_AC_CONFIG_USER_LIBATTR
45         ZFS_AC_CONFIG_USER_LIBUDEV
46         ZFS_AC_CONFIG_USER_FRAME_LARGER_THAN
47         ZFS_AC_CONFIG_USER_RUNSTATEDIR
This page took 0.275913 seconds and 3 git commands to generate.