summaryrefslogtreecommitdiff
path: root/system/python3/fix-xattrs-glibc.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-01-11 12:51:26 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-05-01 17:05:43 -0500
commit5c5f97caca3c9a038732f2732f704d839665ef4e (patch)
treeafefcec5b123fc9b7dacbc290938f3efe7bb0426 /system/python3/fix-xattrs-glibc.patch
parentf17fb4e27d5014a3f582721cebd44bce6dbfa2ca (diff)
downloadpackages-5c5f97caca3c9a038732f2732f704d839665ef4e.tar.gz
packages-5c5f97caca3c9a038732f2732f704d839665ef4e.tar.bz2
packages-5c5f97caca3c9a038732f2732f704d839665ef4e.tar.xz
packages-5c5f97caca3c9a038732f2732f704d839665ef4e.zip
system/python3: bump { 3.6.10 --> 3.10.1 }. fixes #232, 450.
Diffstat (limited to 'system/python3/fix-xattrs-glibc.patch')
-rw-r--r--system/python3/fix-xattrs-glibc.patch13
1 files changed, 6 insertions, 7 deletions
diff --git a/system/python3/fix-xattrs-glibc.patch b/system/python3/fix-xattrs-glibc.patch
index 57a8fb73a..d78428108 100644
--- a/system/python3/fix-xattrs-glibc.patch
+++ b/system/python3/fix-xattrs-glibc.patch
@@ -1,14 +1,13 @@
-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
+diff -ur a/Modules/posixmodule.c b/Modules/posixmodule.c
+--- a/Modules/posixmodule.c 2022-01-11 11:45:55.120000000 +0000
++++ b/Modules/posixmodule.c 2022-01-11 11:47:28.010000000 +0000
+@@ -247,8 +247,9 @@
+ # 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
+ # define USE_XATTRS
+#include <linux/limits.h>
#endif