summaryrefslogtreecommitdiff
path: root/math/py-numarray/patches/patch-Src___dotblas.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-numarray/patches/patch-Src___dotblas.c')
-rw-r--r--math/py-numarray/patches/patch-Src___dotblas.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/math/py-numarray/patches/patch-Src___dotblas.c b/math/py-numarray/patches/patch-Src___dotblas.c
new file mode 100644
index 00000000000..5a8a7af1086
--- /dev/null
+++ b/math/py-numarray/patches/patch-Src___dotblas.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-Src___dotblas.c,v 1.1 2015/01/27 05:05:30 dbj Exp $
+
+--- Src/_dotblas.c.orig 2006-07-24 20:11:35.000000000 +0000
++++ Src/_dotblas.c
+@@ -12,7 +12,11 @@ static char module_doc[] =
+ #include "Python.h"
+ #include "libnumarray.h"
+ #include "arrayobject.h"
++#ifdef __APPLE__
++#include <Accelerate/Accelerate.h>
++#else
+ #include <cblas.h>
++#endif
+
+ #include <stdio.h>
+