pkgsrc/math/scilab/patches/patch-ad
dmcmahill 353a876869 Update to scilab-4.1. The old version was very out of date and there
have been many many changes including many bug fixes, graphics improvements,
editor improvements, new toolbox functions, etc.
2007-03-23 22:08:55 +00:00

14 lines
439 B
Text

$NetBSD: patch-ad,v 1.9 2007/03/23 22:08:56 dmcmahill Exp $
--- 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