summaryrefslogtreecommitdiff
path: root/math/octave-current/patches
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2001-04-19 15:10:35 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2001-04-19 15:10:35 +0000
commit9fb138929addf54f3c9ec73d4e7ef13eb2e00f83 (patch)
treedea9cd6d02c89cee38eaa3fcaeff7f073c967391 /math/octave-current/patches
parent8118fe36aeb2fded8c64c525b9caecf26420ff2d (diff)
downloadpkgsrc-9fb138929addf54f3c9ec73d4e7ef13eb2e00f83.tar.gz
fix one more instance of __alpha__ being used as a test for OSF.
Diffstat (limited to 'math/octave-current/patches')
-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)));