summaryrefslogtreecommitdiff
path: root/math/octave-current/patches/patch-al
diff options
context:
space:
mode:
Diffstat (limited to 'math/octave-current/patches/patch-al')
-rw-r--r--math/octave-current/patches/patch-al11
1 files changed, 9 insertions, 2 deletions
diff --git a/math/octave-current/patches/patch-al b/math/octave-current/patches/patch-al
index 1ad57046192..369d9e60824 100644
--- a/math/octave-current/patches/patch-al
+++ b/math/octave-current/patches/patch-al
@@ -1,7 +1,7 @@
-$NetBSD: patch-al,v 1.1 2001/04/19 00:13:14 dmcmahill Exp $
+$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 Wed Apr 18 19:36:20 2001
++++ 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);
@@ -9,3 +9,10 @@ $NetBSD: patch-al,v 1.1 2001/04/19 00:13:14 dmcmahill Exp $
+#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)));