mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
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.
This commit is contained in:
parent
6767fa568a
commit
f720bd130b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=20079
20
math/octave-devel/files/patch-af
Normal file
20
math/octave-devel/files/patch-af
Normal file
@ -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)
|
20
math/octave/files/patch-af
Normal file
20
math/octave/files/patch-af
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user