From bd1de6ce91a3e6a0c2e29aa98622f99607d56333 Mon Sep 17 00:00:00 2001 From: Isaac Dunham Date: Mon, 8 Sep 2014 22:22:28 -0700 Subject: testing/py-tkinter: add new aport This is the GUI part of python. --- testing/py-tkinter/find_library.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 testing/py-tkinter/find_library.patch (limited to 'testing/py-tkinter/find_library.patch') diff --git a/testing/py-tkinter/find_library.patch b/testing/py-tkinter/find_library.patch new file mode 100644 index 0000000000..c4975250bb --- /dev/null +++ b/testing/py-tkinter/find_library.patch @@ -0,0 +1,11 @@ +--- ./Lib/ctypes/util.py.orig ++++ ./Lib/ctypes/util.py +@@ -227,7 +227,7 @@ + abi_type = mach_map.get(machine, 'libc6') + + # XXX assuming GLIBC's ldconfig (with option -p) +- expr = r'\s+(lib%s\.[^\s]+)\s+\(%s' % (re.escape(name), abi_type) ++ expr = r'\s+(lib%s\.[^\s]+)\s+\(' % (re.escape(name)) + f = os.popen('/sbin/ldconfig -p 2>/dev/null') + try: + data = f.read() -- cgit v1.2.3