Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/fakeroot/files: fakeroot-1.19-no-acl_h.patch
Date: Tue, 21 May 2013 07:22:29
Message-Id: 20130521072225.233D42171E@flycatcher.gentoo.org
1 radhermit 13/05/21 07:22:25
2
3 Added: fakeroot-1.19-no-acl_h.patch
4 Log:
5 Version bump.
6
7 (Portage version: 2.2.0_alpha175/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
8
9 Revision Changes Path
10 1.1 sys-apps/fakeroot/files/fakeroot-1.19-no-acl_h.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/fakeroot/files/fakeroot-1.19-no-acl_h.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/fakeroot/files/fakeroot-1.19-no-acl_h.patch?rev=1.1&content-type=text/plain
14
15 Index: fakeroot-1.19-no-acl_h.patch
16 ===================================================================
17 http://bugs.gentoo.org/424419
18
19 --- fakeroot-1.19/libfakeroot.c
20 +++ fakeroot-1.19/libfakeroot.c
21 @@ -1908,6 +1908,7 @@
22 return fakeroot_disabled;
23 }
24
25 +#ifdef HAVE_SYS_ACL_H
26 #ifdef HAVE_ACL_T
27 acl_t acl_get_fd(int fd) {
28 errno = ENOTSUP;
29 @@ -1926,6 +1927,7 @@
30 errno = ENOTSUP;
31 return -1;
32 }
33 +#endif /* HAVE_ACL_T */
34 #endif /* HAVE_SYS_ACL_H */
35
36 #ifdef HAVE_FTS_READ
37 --- fakeroot-1.19/wrapfunc.inp
38 +++ fakeroot-1.19/wrapfunc.inp
39 @@ -206,12 +206,14 @@
40 #endif /* HAVE_UNLINKAT */
41 #endif /* HAVE_FSTATAT */
42
43 +#ifdef HAVE_SYS_ACL_H
44 #ifdef HAVE_ACL_T
45 acl_get_fd;acl_t;(int fd);(fd)
46 acl_get_file;acl_t;(const char *path_p, acl_type_t type);(path_p, type)
47 acl_set_fd;int;(int fd, acl_t acl);(fd, acl)
48 acl_set_file;int;(const char *path_p, acl_type_t type, acl_t acl);(path_p, type, acl)
49 #endif /* HAVE_ACL_T */
50 +#endif /* HAVE_SYS_ACL_H */
51
52 #ifdef HAVE_FTS_READ
53 fts_read;FTSENT *;(FTS *ftsp);(ftsp)