summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/scipy/files/scipy-0.6.0-ndimage.patch')
-rw-r--r--sci-libs/scipy/files/scipy-0.6.0-ndimage.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sci-libs/scipy/files/scipy-0.6.0-ndimage.patch b/sci-libs/scipy/files/scipy-0.6.0-ndimage.patch
new file mode 100644
index 000000000000..c5ee5b0fa442
--- /dev/null
+++ b/sci-libs/scipy/files/scipy-0.6.0-ndimage.patch
@@ -0,0 +1,15 @@
+--- scipy/ndimage/src/nd_image.h.orig 2008-01-21 01:20:06.010806667 +0000
++++ scipy/ndimage/src/nd_image.h 2008-01-21 01:21:52.565386609 +0000
+@@ -273,12 +273,6 @@
+ NA_ByteOrder(), 1, 1);
+ }
+
+-#define NA_OutputArray (*(PyArrayObject* (*) (PyObject*,NumarrayType,int) ) (void *) NA_OutputArray)
+-#define NA_IoArray (*(PyArrayObject* (*) (PyObject*,NumarrayType,int) ) (void *) NA_IoArray)
+-#define NA_NewArray (*(PyArrayObject* (*) (void* buffer, NumarrayType, int, ...) ) (void *) NA_NewArray )
+-#define NA_elements (*(unsigned long (*) (PyArrayObject*) ) (void *) NA_elements)
+-#define NA_InputArray (*(PyArrayObject* (*) (PyObject*,NumarrayType,int) ) (void *) NA_InputArray)
+-
+ #endif /* ND_IMPORT_ARRAY */
+
+ #endif /* ND_IMAGE_H */