summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyrex/files/pyrex-0.9.6.4-setuptools-workaround.patch')
-rw-r--r--dev-python/pyrex/files/pyrex-0.9.6.4-setuptools-workaround.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-python/pyrex/files/pyrex-0.9.6.4-setuptools-workaround.patch b/dev-python/pyrex/files/pyrex-0.9.6.4-setuptools-workaround.patch
new file mode 100644
index 000000000000..443d2facceb2
--- /dev/null
+++ b/dev-python/pyrex/files/pyrex-0.9.6.4-setuptools-workaround.patch
@@ -0,0 +1,14 @@
+--- Pyrex/Distutils/build_ext.py.old 2007-10-16 00:43:41.035218320 +0200
++++ Pyrex/Distutils/build_ext.py 2007-10-16 00:49:33.564437777 +0200
+@@ -81,6 +81,11 @@
+ ext.sources = self.pyrex_sources(ext.sources, ext)
+ self.build_extension(ext)
+
++ # Workaround, as setuptools wants swig_sources with only two arguments
++ # see Gentoo bugs #195354 and #195466
++ def swig_sources(self, sources, extension=None):
++ return _build_ext.build_ext.swig_sources(self, sources, extension)
++
+ def pyrex_sources(self, sources, extension):
+
+ """