summaryrefslogtreecommitdiff
path: root/math/scilab/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'math/scilab/patches/patch-ad')
-rw-r--r--math/scilab/patches/patch-ad22
1 files changed, 12 insertions, 10 deletions
diff --git a/math/scilab/patches/patch-ad b/math/scilab/patches/patch-ad
index 58a7a3bbc4f..ffdbff936eb 100644
--- a/math/scilab/patches/patch-ad
+++ b/math/scilab/patches/patch-ad
@@ -1,12 +1,14 @@
-$NetBSD: patch-ad,v 1.8 2005/09/07 10:48:47 dmcmahill Exp $
+$NetBSD: patch-ad,v 1.9 2007/03/23 22:08:56 dmcmahill Exp $
---- tests/Makefile.orig 2004-09-28 08:37:36.000000000 +0000
-+++ tests/Makefile
-@@ -20,6 +20,7 @@ clean ::
- $(RM) foo* test.wav one_man.tst test_macro_exec asave results *.bin
- $(RM) -r .libs libintertest.o libintertest.s* libintertest.la \
- libintertest.lo addinter.o addinter.lo
-+ $(RM) -f Makelib externals.lo libintertest.c loader.sce libext1f.so libext1f.la
-
- distclean:: clean
+--- routines/scicos/evaluate_expr.c.orig 2005-09-23 12:28:00.000000000 +0000
++++ routines/scicos/evaluate_expr.c
+@@ -8,7 +8,8 @@
+ #include <ieeefp.h>
+ int isinf(double x) { return !finite(x) && x==x; }
+ #endif
+-#if defined(__alpha)
++/* NetBSD/alpha already has ininf */
++#if defined(__alpha) && !defined(__NetBSD__)
+ int isinf(double x) { return !finite(x) && x==x; }
+ #endif