Blame SOURCES/0002-add-workaround-for-undefined-ENOATTR.patch

3a849e
From 3efd44125a6f64fba786d08254e9d1bb6f08abde Mon Sep 17 00:00:00 2001
3a849e
From: Milind Changire <mchangir@redhat.com>
3a849e
Date: Sat, 4 Aug 2018 17:51:25 +0530
3a849e
Subject: [PATCH 2/2] add workaround for undefined ENOATTR
3a849e
3a849e
define ENOATTR as ENODATA
3a849e
fixes bz#1610029
3a849e
3a849e
Signed-off-by: Milind Changire <mchangir@redhat.com>
3a849e
---
3a849e
 xattr.c | 4 ++++
3a849e
 1 file changed, 4 insertions(+)
3a849e
3a849e
diff --git a/xattr.c b/xattr.c
3a849e
index 2529e90..ac248cd 100644
3a849e
--- a/xattr.c
3a849e
+++ b/xattr.c
3a849e
@@ -97,6 +97,10 @@ typedef int Py_ssize_t;
3a849e
    multi-operations */
3a849e
 #define ESTIMATE_ATTR_SIZE 256
3a849e
 
3a849e
+#if !defined(ENOATTR)
3a849e
+#define      ENOATTR ENODATA
3a849e
+#endif
3a849e
+
3a849e
 typedef enum {T_FD, T_PATH, T_LINK} target_e;
3a849e
 
3a849e
 typedef struct {
3a849e
-- 
3a849e
2.17.1
3a849e