diff options
Diffstat (limited to 'system/python3/fix-xattrs-glibc.patch')
-rw-r--r-- | system/python3/fix-xattrs-glibc.patch | 13 |
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 |