diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2010-11-08 10:34:46 -0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2010-11-14 21:08:26 -0800 |
commit | 793bb465b3a6b0c883340621575b9944d7ccaf5a (patch) | |
tree | b668cfadf3836b3d018dd76005f3bb65b4f8dd03 /meta/recipes-devtools/python/python-native/10-distutils-fix-swig-parameter.patch | |
parent | a7af5c516e547e669d92569dba21a9c1c790cf7f (diff) | |
download | poky-793bb465b3a6b0c883340621575b9944d7ccaf5a.tar.gz |
python, python-native upgrade from 2.6.5 to 2.6.6
Removed these patch:
python-native-2.6.5/00-fix-bindir-libdir-for-cross.patch
python/00-fix-bindir-libdir-for-cross.patch
The upstream code has changed, and it does not need the above 2 patches
(fixes) anymore.
Patches rebased to the newer code:
python/01-use-proper-tools-for-cross-build.patch
python/04-default-is-optimized.patch
python/06-avoid_usr_lib_termcap_path_in_linking.patch
python/99-ignore-optimization-flag.patch
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/recipes-devtools/python/python-native/10-distutils-fix-swig-parameter.patch')
-rw-r--r-- | meta/recipes-devtools/python/python-native/10-distutils-fix-swig-parameter.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-native/10-distutils-fix-swig-parameter.patch b/meta/recipes-devtools/python/python-native/10-distutils-fix-swig-parameter.patch new file mode 100644 index 0000000000..f5e852a118 --- /dev/null +++ b/meta/recipes-devtools/python/python-native/10-distutils-fix-swig-parameter.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | # Some versions of SWIG do not use the extension parameter. | ||
2 | # Make it optional. | ||
3 | # Signed-Off: Michael 'Mickey' Lauer <mickey@vanille-media.de> | ||
4 | Index: Python-2.6.1/Lib/distutils/command/build_ext.py | ||
5 | =================================================================== | ||
6 | --- Python-2.6.1.orig/Lib/distutils/command/build_ext.py | ||
7 | +++ Python-2.6.1/Lib/distutils/command/build_ext.py | ||
8 | @@ -566,7 +566,7 @@ class build_ext (Command): | ||
9 | target_lang=language) | ||
10 | |||
11 | |||
12 | - def swig_sources (self, sources, extension): | ||
13 | + def swig_sources (self, sources, extension=None): | ||
14 | |||
15 | """Walk the list of source files in 'sources', looking for SWIG | ||
16 | interface (.i) files. Run SWIG on all that are found, and | ||