summaryrefslogtreecommitdiff
path: root/packages/python/files
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2008-12-10 23:39:02 +0100
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2008-12-10 23:39:36 +0100
commitc8c30f31db664b8adc95939bd5b10bf3e2b8369f (patch)
tree6e635d3c4f0048c69f8f7c90b04fa29022e5a3e8 /packages/python/files
parent09f942ce8ace4eb4b1bd53a1bd740a4d14d27789 (diff)
pyrex[-native]: fix running in optimized mode
Diffstat (limited to 'packages/python/files')
-rw-r--r--packages/python/files/pyrex-fix-optimized-mode.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/python/files/pyrex-fix-optimized-mode.patch b/packages/python/files/pyrex-fix-optimized-mode.patch
new file mode 100644
index 0000000000..a1f5bb29ba
--- /dev/null
+++ b/packages/python/files/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)