From 6f4cca64ba524f3bb7b076776e940befef11390e Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 27 Oct 2017 07:04:54 +0000 Subject: main/python3: fix cyclic dependency for tkinter Add a separate apkbuild for tkinter to avoid the cyclic buildtime dependency: python3 -> tk -> libX11 -> libxcb -> xcb-proto -> python3 --- community/python3-tkinter/fix-xattrs-glibc.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 community/python3-tkinter/fix-xattrs-glibc.patch (limited to 'community/python3-tkinter/fix-xattrs-glibc.patch') diff --git a/community/python3-tkinter/fix-xattrs-glibc.patch b/community/python3-tkinter/fix-xattrs-glibc.patch new file mode 100644 index 0000000000..57a8fb73ab --- /dev/null +++ b/community/python3-tkinter/fix-xattrs-glibc.patch @@ -0,0 +1,15 @@ +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 + #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 + #endif + + #ifdef USE_XATTRS -- cgit v1.2.3