mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-10 04:43:32 +00:00
python: update no-xattr.patch
This commit is contained in:
@@ -6,8 +6,8 @@ https://github.com/termux/termux-packages/issues/16879
|
||||
# undef HAVE_SCHED_SETAFFINITY
|
||||
#endif
|
||||
|
||||
-#if defined(HAVE_SYS_XATTR_H) && defined(__linux__) && !defined(__FreeBSD_kernel__) && !defined(__GNU__)
|
||||
+#if defined(HAVE_SYS_XATTR_H) && defined(__linux__) && !defined(__FreeBSD_kernel__) && !defined(__GNU__) && !defined(__ANDROID__)
|
||||
-#if defined(HAVE_SYS_XATTR_H) && defined(HAVE_LINUX_LIMITS_H) && !defined(__FreeBSD_kernel__) && !defined(__GNU__)
|
||||
+#if defined(HAVE_SYS_XATTR_H) && defined(HAVE_LINUX_LIMITS_H) && !defined(__FreeBSD_kernel__) && !defined(__GNU__) && !defined(__ANDROID__)
|
||||
# define USE_XATTRS
|
||||
# include <linux/limits.h> // Needed for XATTR_SIZE_MAX on musl libc.
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user