diff options
Diffstat (limited to 'system/python3/fix-xattrs-glibc.patch')
-rw-r--r-- | system/python3/fix-xattrs-glibc.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/python3/fix-xattrs-glibc.patch b/system/python3/fix-xattrs-glibc.patch index d78428108..da0c6e3cb 100644 --- a/system/python3/fix-xattrs-glibc.patch +++ b/system/python3/fix-xattrs-glibc.patch @@ -1,14 +1,14 @@ 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 @@ +@@ -272,8 +272,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 -+#include <linux/limits.h> ++# include <linux/limits.h> #endif #ifdef USE_XATTRS |