diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2013-11-27 21:30:43 +0100 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2013-11-27 21:30:43 +0100 |
commit | ae3d4616ed9c19a29d656193254657f93d612fa2 (patch) | |
tree | 139e4b901bfef70776833359d8dc747a8a9fd292 /package/python2/patches | |
parent | 0f77fa26b817ae7a022fd3f1682b1c5a31905682 (diff) |
try to fixup mesalib compile, it needs libxml2 python module
Diffstat (limited to 'package/python2/patches')
-rw-r--r-- | package/python2/patches/patch-Lib_distutils_sysconfig_py | 10 | ||||
-rw-r--r-- | package/python2/patches/patch-Misc_python-config_in | 21 |
2 files changed, 0 insertions, 31 deletions
diff --git a/package/python2/patches/patch-Lib_distutils_sysconfig_py b/package/python2/patches/patch-Lib_distutils_sysconfig_py deleted file mode 100644 index 30aae0816..000000000 --- a/package/python2/patches/patch-Lib_distutils_sysconfig_py +++ /dev/null @@ -1,10 +0,0 @@ ---- Python-2.7.5.orig/Lib/distutils/sysconfig.py 2013-05-12 05:32:42.000000000 +0200 -+++ Python-2.7.5/Lib/distutils/sysconfig.py 2013-11-03 18:03:53.000000000 +0100 -@@ -76,6 +76,7 @@ def get_python_inc(plat_specific=0, pref - """ - if prefix is None: - prefix = plat_specific and EXEC_PREFIX or PREFIX -+ prefix = re.sub('host_', 'target_', prefix) - - if os.name == "posix": - if python_build: diff --git a/package/python2/patches/patch-Misc_python-config_in b/package/python2/patches/patch-Misc_python-config_in deleted file mode 100644 index 9734d4fbd..000000000 --- a/package/python2/patches/patch-Misc_python-config_in +++ /dev/null @@ -1,21 +0,0 @@ ---- Python-2.7.5.orig/Misc/python-config.in 2013-05-12 05:32:49.000000000 +0200 -+++ Python-2.7.5/Misc/python-config.in 2013-10-30 21:29:47.000000000 +0100 -@@ -3,6 +3,7 @@ - import sys - import os - import getopt -+import re - from distutils import sysconfig - - valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', -@@ -37,8 +38,8 @@ for opt in opt_flags: - print sysconfig.EXEC_PREFIX - - elif opt in ('--includes', '--cflags'): -- flags = ['-I' + sysconfig.get_python_inc(), -- '-I' + sysconfig.get_python_inc(plat_specific=True)] -+ flags = ['-I' + re.sub('host_', 'target_', sysconfig.get_python_inc()), -+ '-I' + re.sub('host_', 'target_', sysconfig.get_python_inc(plat_specific=True))] - if opt == '--cflags': - flags.extend(getvar('CFLAGS').split()) - print ' '.join(flags) |