From 6d0796d2302019591f3c59f0c5d5d40ae06a636d Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 29 Dec 2019 12:56:03 +0100 Subject: dev-lang/python: Drop old MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All the old versions (2.6, 3.2 and 3.3) no longer build with new openssl and glibc. Somebody would have to backport even more patches. Signed-off-by: Michał Górny --- .../python/files/2.6/07_all_internal_expat.patch | 33 ---------------------- 1 file changed, 33 deletions(-) delete mode 100644 dev-lang/python/files/2.6/07_all_internal_expat.patch (limited to 'dev-lang/python/files/2.6/07_all_internal_expat.patch') diff --git a/dev-lang/python/files/2.6/07_all_internal_expat.patch b/dev-lang/python/files/2.6/07_all_internal_expat.patch deleted file mode 100644 index 3ffdae2..0000000 --- a/dev-lang/python/files/2.6/07_all_internal_expat.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- setup.py -+++ setup.py -@@ -1326,18 +1326,15 @@ - # - # More information on Expat can be found at www.libexpat.org. - # -- expatinc = os.path.join(os.getcwd(), srcdir, 'Modules', 'expat') -- define_macros = [ -- ('HAVE_EXPAT_CONFIG_H', '1'), -- ] -+ # Use system expat -+ expatinc = '/usr/include' -+ define_macros = [] - - exts.append(Extension('pyexpat', - define_macros = define_macros, - include_dirs = [expatinc], -+ libraries = ['expat'], - sources = ['pyexpat.c', -- 'expat/xmlparse.c', -- 'expat/xmlrole.c', -- 'expat/xmltok.c', - ], - )) - -@@ -1349,6 +1346,7 @@ - exts.append(Extension('_elementtree', - define_macros = define_macros, - include_dirs = [expatinc], -+ libraries = ['expat'], - sources = ['_elementtree.c'], - )) - else: -- cgit v1.2.3-65-gdbad