summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/python/python-native/10-distutils-fix-swig-parameter.patch
blob: f5e852a1182be25afd100350a9e5ec62743f4cae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Some versions of SWIG do not use the extension parameter.
# Make it optional.
# Signed-Off: Michael 'Mickey' Lauer <mickey@vanille-media.de>
Index: Python-2.6.1/Lib/distutils/command/build_ext.py
===================================================================
--- Python-2.6.1.orig/Lib/distutils/command/build_ext.py
+++ Python-2.6.1/Lib/distutils/command/build_ext.py
@@ -566,7 +566,7 @@ class build_ext (Command):
             target_lang=language)
 
 
-    def swig_sources (self, sources, extension):
+    def swig_sources (self, sources, extension=None):
 
         """Walk the list of source files in 'sources', looking for SWIG
         interface (.i) files.  Run SWIG on all that are found, and
linux/ixp4xx-kernel_2.6.18.bb?id=c4de89456a82bc97d97b0905f33f825ee303a099'>ixp4xx-kernel: SVN Revision bumpMichael-Luke Jones1 2006-09-26ixp4xx-kernel: Bump to latest SVN for LE fix Michael-Luke Jones1 2006-09-25ixp4xx-kernel: Bump SVN to add new ixp_npe driver fixesMichael-Luke Jones1 2006-09-24ixp4xx-kernel: Bump SVN_REV to include full debugging outputMichael-Luke Jones1 2006-09-23ixp4xx-kernel: Updated to svn repo rev after layout revert. Enanced svnpatch...Rod Whitby1 2006-09-23ixp4xx-kernel: Update to grab patches from trunkMichael-Luke Jones1 2006-09-23ixp4xx-kernel: minor SVN revbumpMichael-Luke Jones1 2006-09-22ixp4xx-kernel-2.6.18: pull patches automatically from SVNMichael-Luke Jones1 2006-09-21ixp4xx-kernel_2.6.18: General Update Michael-Luke Jones1 2006-09-13ixp4xx-kernel: Add 2.6.18 (currently -rc7)Oyvind Repvik1