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