summaryrefslogtreecommitdiff
path: root/meta/packages/python/python-pyrex
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/python/python-pyrex')
-rw-r--r--meta/packages/python/python-pyrex/pyrex-fix-optimized-mode.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/packages/python/python-pyrex/pyrex-fix-optimized-mode.patch b/meta/packages/python/python-pyrex/pyrex-fix-optimized-mode.patch
new file mode 100644
index 000000000..a1f5bb29b
--- /dev/null
+++ b/meta/packages/python/python-pyrex/pyrex-fix-optimized-mode.patch
@@ -0,0 +1,13 @@
+Index: Pyrex-0.9.8.4/Pyrex/Distutils/extension.py
+===================================================================
+--- Pyrex-0.9.8.4.orig/Pyrex/Distutils/extension.py
++++ Pyrex-0.9.8.4/Pyrex/Distutils/extension.py
+@@ -15,7 +15,7 @@ except ImportError:
+ warnings = None
+
+ class Extension(_Extension.Extension):
+- _Extension.Extension.__doc__ + \
++ _Extension.Extension.__doc__ or "" + \
+ """pyrex_include_dirs : [string]
+ list of directories to search for Pyrex header files (.pxd) (in
+ Unix form for portability)