From e23cdda4dbb0c83b9e682ab5e916085a35203da5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 23 Jun 2018 07:00:28 +0100 Subject: gentoo resync : 23.06.2018 --- sys-apps/attr/files/attr-2.4.48-perl-5.26.patch | 10 +++++++--- sys-apps/attr/files/xattr-shim.h | 9 +++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 sys-apps/attr/files/xattr-shim.h (limited to 'sys-apps/attr/files') diff --git a/sys-apps/attr/files/attr-2.4.48-perl-5.26.patch b/sys-apps/attr/files/attr-2.4.48-perl-5.26.patch index 6f3d2a22c140..49b4c1a57665 100644 --- a/sys-apps/attr/files/attr-2.4.48-perl-5.26.patch +++ b/sys-apps/attr/files/attr-2.4.48-perl-5.26.patch @@ -1,13 +1,17 @@ +From 406eab7aa09da9df787a964d3c152c0bda6e23c4 Mon Sep 17 00:00:00 2001 +From: Troy Dawson +Date: Mon, 24 Jul 2017 14:42:06 +0200 +Subject: [PATCH attr] test: escape left brace in a regex in test/run + ... to fix test-suite failure with perl-5.26.0 Bug: https://bugzilla.redhat.com/1473853 -Upstream: http://lists.nongnu.org/archive/html/acl-devel/2017-07/msg00001.html --- test/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run b/test/run -index 4b1f8d0..07e916c 100755 +index 4b1f8d0d6134..07e916c41947 100755 --- a/test/run +++ b/test/run @@ -106,7 +106,7 @@ for (;;) { @@ -20,4 +24,4 @@ index 4b1f8d0..07e916c 100755 if (defined $line) { if ($line =~ s/^\s*< ?//) { -- -2.13.0 \ No newline at end of file +2.16.1 diff --git a/sys-apps/attr/files/xattr-shim.h b/sys-apps/attr/files/xattr-shim.h new file mode 100644 index 000000000000..88a12354318d --- /dev/null +++ b/sys-apps/attr/files/xattr-shim.h @@ -0,0 +1,9 @@ +/* Small shim until we update all packages. */ +#ifndef __XATTR_H__ +#define __XATTR_H__ +#include +#warning "Please change your includes to " +# ifndef ENOATTR +# define ENOATTR ENODATA +# endif /* ENOATTR */ +#endif -- cgit v1.2.3