aboutsummaryrefslogtreecommitdiffstats
path: root/main/python3/fix-xattrs-glibc.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2021-01-16 18:02:52 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2021-04-05 18:17:58 +0000
commit0c6f2120edaffea8552921514f49cc24d3a6333d (patch)
treec41b26a7e7b9d636a3ebe9b43c8d3cb98a7b4012 /main/python3/fix-xattrs-glibc.patch
parent9a2e21676500bfaae806b9c1965ec0bc279548bb (diff)
downloadaports-0c6f2120edaffea8552921514f49cc24d3a6333d.tar.gz
aports-0c6f2120edaffea8552921514f49cc24d3a6333d.tar.bz2
aports-0c6f2120edaffea8552921514f49cc24d3a6333d.tar.xz
main/python3: upgrade to 3.9.1
Diffstat (limited to 'main/python3/fix-xattrs-glibc.patch')
-rw-r--r--main/python3/fix-xattrs-glibc.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/python3/fix-xattrs-glibc.patch b/main/python3/fix-xattrs-glibc.patch
index 57a8fb73ab..871236f66b 100644
--- a/main/python3/fix-xattrs-glibc.patch
+++ b/main/python3/fix-xattrs-glibc.patch
@@ -1,15 +1,15 @@
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
-index 8f8ba25..72b92da 100644
+index 12f72f5..d54d085 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
+@@ -234,8 +234,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>
+ # define USE_XATTRS
++# include <linux/limits.h>
#endif
#ifdef USE_XATTRS