summaryrefslogtreecommitdiff
path: root/system/python3/fix-xattrs-glibc.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2023-04-01 22:14:13 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-04-01 22:14:13 -0500
commit3829532d512ff2a90cf3951c15b0f4adc4660c0a (patch)
tree7b3ad3385b2636a7b4ce083e5ccfb4cb08ec098e /system/python3/fix-xattrs-glibc.patch
parent59f50eb4aea3e8c0ba74414ad1a1f09795d80e03 (diff)
downloadpackages-3829532d512ff2a90cf3951c15b0f4adc4660c0a.tar.gz
packages-3829532d512ff2a90cf3951c15b0f4adc4660c0a.tar.bz2
packages-3829532d512ff2a90cf3951c15b0f4adc4660c0a.tar.xz
packages-3829532d512ff2a90cf3951c15b0f4adc4660c0a.zip
system/python3: Update to 3.11.2
Diffstat (limited to 'system/python3/fix-xattrs-glibc.patch')
-rw-r--r--system/python3/fix-xattrs-glibc.patch4
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