summaryrefslogtreecommitdiff
path: root/sys-apps/attr/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-06-23 07:00:28 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-06-23 07:00:28 +0100
commite23cdda4dbb0c83b9e682ab5e916085a35203da5 (patch)
tree5a4ac448a3b288b731c24d947e0ce52df3cab07b /sys-apps/attr/files
parent8187a741807f3e9a9e26304973cf18087dcf2560 (diff)
gentoo resync : 23.06.2018
Diffstat (limited to 'sys-apps/attr/files')
-rw-r--r--sys-apps/attr/files/attr-2.4.48-perl-5.26.patch10
-rw-r--r--sys-apps/attr/files/xattr-shim.h9
2 files changed, 16 insertions, 3 deletions
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 <tdawson@redhat.com>
+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 <sys/xattr.h>
+#warning "Please change your <attr/xattr.h> includes to <sys/xattr.h>"
+# ifndef ENOATTR
+# define ENOATTR ENODATA
+# endif /* ENOATTR */
+#endif