aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-12-29 12:56:03 +0100
committerMichał Górny <mgorny@gentoo.org>2019-12-29 12:56:32 +0100
commit6d0796d2302019591f3c59f0c5d5d40ae06a636d (patch)
treee2c269e2e304e350f00959ceac62ea7b27ae75fa /dev-lang/python/files/2.6/07_all_internal_expat.patch
parentdev-lang/python: Remove unnecessary +x (diff)
downloadpython-6d0796d2302019591f3c59f0c5d5d40ae06a636d.tar.gz
python-6d0796d2302019591f3c59f0c5d5d40ae06a636d.tar.bz2
python-6d0796d2302019591f3c59f0c5d5d40ae06a636d.zip
dev-lang/python: Drop old
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 <mgorny@gentoo.org>
Diffstat (limited to 'dev-lang/python/files/2.6/07_all_internal_expat.patch')
-rw-r--r--dev-lang/python/files/2.6/07_all_internal_expat.patch33
1 files changed, 0 insertions, 33 deletions
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: