1 |
commit: 67bcfc713c045e2205f7fb3015566f213c623814 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 22 13:37:06 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 22 13:37:25 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67bcfc71 |
7 |
|
8 |
sys-apps/attr: Revbump to also define ENOATTR in xattr.h shim file. |
9 |
|
10 |
Bug: https://bugs.gentoo.org/658744 |
11 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
12 |
|
13 |
sys-apps/attr/{attr-2.4.48-r1.ebuild => attr-2.4.48-r2.ebuild} | 0 |
14 |
sys-apps/attr/files/xattr-shim.h | 3 +++ |
15 |
2 files changed, 3 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/attr/attr-2.4.48-r1.ebuild b/sys-apps/attr/attr-2.4.48-r2.ebuild |
18 |
similarity index 100% |
19 |
rename from sys-apps/attr/attr-2.4.48-r1.ebuild |
20 |
rename to sys-apps/attr/attr-2.4.48-r2.ebuild |
21 |
|
22 |
diff --git a/sys-apps/attr/files/xattr-shim.h b/sys-apps/attr/files/xattr-shim.h |
23 |
index 818b4c1690c..88a12354318 100644 |
24 |
--- a/sys-apps/attr/files/xattr-shim.h |
25 |
+++ b/sys-apps/attr/files/xattr-shim.h |
26 |
@@ -3,4 +3,7 @@ |
27 |
#define __XATTR_H__ |
28 |
#include <sys/xattr.h> |
29 |
#warning "Please change your <attr/xattr.h> includes to <sys/xattr.h>" |
30 |
+# ifndef ENOATTR |
31 |
+# define ENOATTR ENODATA |
32 |
+# endif /* ENOATTR */ |
33 |
#endif |