aboutsummaryrefslogtreecommitdiffstats
path: root/science/py-mlpy/files/patch-setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'science/py-mlpy/files/patch-setup.py')
-rw-r--r--science/py-mlpy/files/patch-setup.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/science/py-mlpy/files/patch-setup.py b/science/py-mlpy/files/patch-setup.py
new file mode 100644
index 00000000000..0aa0368edf6
--- /dev/null
+++ b/science/py-mlpy/files/patch-setup.py
@@ -0,0 +1,17 @@
+--- setup.py.orig 2010-10-18 20:08:13.000000000 +0800
++++ setup.py 2010-12-23 15:19:09.000000000 +0800
+@@ -158,11 +158,13 @@
+ "mlpy/liblinear/liblinear/blas/daxpy.c",
+ "mlpy/liblinear/liblinear/blas/ddot.c",
+ "mlpy/liblinear/liblinear/blas/dnrm2.c",
+- "mlpy/liblinear/liblinear/blas/dscal.c"],
++ "mlpy/liblinear/liblinear/blas/dscal.c"],
++ include_dirs=base_include,
+ extra_compile_args=extra_compile_args),
+ Extension("mlpy.libsvm",
+ ["mlpy/libsvm/libsvm/svm.cpp",
+ "mlpy/libsvm/libsvm.pyx"],
++ include_dirs=base_include,
+ extra_compile_args=extra_compile_args)
+ ],
+ scripts=["mlpy/tools/mlpy-test"],