pkgsrc/math/octave-current/patches/patch-al

18 lines
641 B
Text

$NetBSD: patch-al,v 1.2 2001/04/19 15:10:36 dmcmahill Exp $
--- liboctave/lo-ieee.cc.orig Tue Jan 25 16:23:09 2000
+++ liboctave/lo-ieee.cc Thu Apr 19 08:02:52 2001
@@ -65,5 +65,5 @@
double tmp = 1.0;
octave_Inf = 1.0 / (tmp - tmp);
-#elif defined (__alpha__) && ! defined (linux)
+#elif defined (__alpha__) && defined (__osf__)
extern unsigned int DINFINITY[2];
octave_Inf = (*(X_CAST(double *, DINFINITY)));
@@ -84,5 +84,5 @@
#if defined (HAVE_ISNAN)
-#if defined (__alpha__) && ! defined (linux)
+#if defined (__alpha__) && defined (__osf__)
extern unsigned int DQNAN[2];
octave_NaN = (*(X_CAST(double *, DQNAN)));