summaryrefslogtreecommitdiffstats
path: root/math/octave-devel
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-07-05 16:27:03 +0000
committersteve <steve@FreeBSD.org>1999-07-05 16:27:03 +0000
commit81eb538a5efcd4bdc531cc6eaeaf0798692db101 (patch)
treeb7561741594cf1e95006e97541582b4ad3c5737b /math/octave-devel
parentea69b566e8e9b8a4b44cba4c141960e5600c7778 (diff)
downloadFreeBSD-ports-81eb538a5efcd4bdc531cc6eaeaf0798692db101.zip
FreeBSD-ports-81eb538a5efcd4bdc531cc6eaeaf0798692db101.tar.gz
Sprinkle in some '#if !defined(__FreeBSD__)' incantations so we don't get
OSF1/Alpha characteristics when the machine's arch is Alpha and the OS is FreeBSD.
Diffstat (limited to 'math/octave-devel')
-rw-r--r--math/octave-devel/files/patch-af20
1 files changed, 20 insertions, 0 deletions
diff --git a/math/octave-devel/files/patch-af b/math/octave-devel/files/patch-af
new file mode 100644
index 0000000..ca96fad
--- /dev/null
+++ b/math/octave-devel/files/patch-af
@@ -0,0 +1,20 @@
+--- liboctave/lo-ieee.cc.orig Sun Jun 20 23:29:47 1999
++++ liboctave/lo-ieee.cc Sun Jun 20 23:30:30 1999
+@@ -70,7 +70,7 @@
+ octave_Inf = 1.0 / (tmp - tmp);
+ #elif defined (linux)
+ octave_Inf = HUGE_VAL;
+-#elif defined (__alpha__)
++#elif defined (__alpha__) && !defined(__FreeBSD__)
+ extern unsigned int DINFINITY[2];
+ octave_Inf = (*((double *) (DINFINITY)));
+ #elif defined (HAVE_INFINITY)
+@@ -93,7 +93,7 @@
+
+ #if defined (linux)
+ octave_NaN = NAN;
+-#elif defined (__alpha__)
++#elif defined (__alpha__) && !defined(__FreeBSD__)
+ extern unsigned int DQNAN[2];
+ octave_NaN = (*((double *) (DQNAN)));
+ #elif defined (HAVE_QUIET_NAN)
OpenPOWER on IntegriCloud