diff options
| author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
|---|---|---|
| committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
| commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
| tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/recipes-devtools/python/python-native/10-distutils-fix-swig-parameter.patch | |
| download | poky-daisy-140929.tar.gz | |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.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 | 18 |
1 files changed, 18 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..a39247ce70 --- /dev/null +++ b/meta/recipes-devtools/python/python-native/10-distutils-fix-swig-parameter.patch | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | Upstream-Status: Pending | ||
| 2 | |||
| 3 | # Some versions of SWIG do not use the extension parameter. | ||
| 4 | # Make it optional. | ||
| 5 | # Signed-Off: Michael 'Mickey' Lauer <mickey@vanille-media.de> | ||
| 6 | Index: Python-2.6.1/Lib/distutils/command/build_ext.py | ||
| 7 | =================================================================== | ||
| 8 | --- Python-2.6.1.orig/Lib/distutils/command/build_ext.py | ||
| 9 | +++ Python-2.6.1/Lib/distutils/command/build_ext.py | ||
| 10 | @@ -566,7 +566,7 @@ class build_ext (Command): | ||
| 11 | target_lang=language) | ||
| 12 | |||
| 13 | |||
| 14 | - def swig_sources (self, sources, extension): | ||
| 15 | + def swig_sources (self, sources, extension=None): | ||
| 16 | |||
| 17 | """Walk the list of source files in 'sources', looking for SWIG | ||
| 18 | interface (.i) files. Run SWIG on all that are found, and | ||
