summaryrefslogtreecommitdiff
path: root/system/python3/fix-xattrs-glibc.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-18 20:56:28 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-18 20:56:28 -0500
commitd26fe1f99c7145a54d991bcb5056c198bc38c60b (patch)
tree7a0255ba81b7435289abda5e512315436dfa22ea /system/python3/fix-xattrs-glibc.patch
parentc8d304bdbb1677538487b1fae9d365c515afe58d (diff)
downloadpackages-d26fe1f99c7145a54d991bcb5056c198bc38c60b.tar.gz
packages-d26fe1f99c7145a54d991bcb5056c198bc38c60b.tar.bz2
packages-d26fe1f99c7145a54d991bcb5056c198bc38c60b.tar.xz
packages-d26fe1f99c7145a54d991bcb5056c198bc38c60b.zip
system/python3: [PD] fix maintainer, bump, finally fix pip
Diffstat (limited to 'system/python3/fix-xattrs-glibc.patch')
-rw-r--r--system/python3/fix-xattrs-glibc.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/system/python3/fix-xattrs-glibc.patch b/system/python3/fix-xattrs-glibc.patch
new file mode 100644
index 000000000..57a8fb73a
--- /dev/null
+++ b/system/python3/fix-xattrs-glibc.patch
@@ -0,0 +1,15 @@
+diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
+index 8f8ba25..72b92da 100644
+--- a/Modules/posixmodule.c
++++ b/Modules/posixmodule.c
+@@ -103,8 +103,9 @@ corresponding Unix manual entries for more information on calls.");
+ #undef HAVE_SCHED_SETAFFINITY
+ #endif
+
+-#if defined(HAVE_SYS_XATTR_H) && defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__GNU__)
++#if defined(HAVE_SYS_XATTR_H) && defined(__linux__) && !defined(__FreeBSD_kernel__) && !defined(__GNU__)
+ #define USE_XATTRS
++#include <linux/limits.h>
+ #endif
+
+ #ifdef USE_XATTRS