aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-07-06 00:27:03 +0800
committerSteve Price <steve@FreeBSD.org>1999-07-06 00:27:03 +0800
commitf720bd130b9146a727c7ff295e1c431e07549114 (patch)
tree1ed192f3d1338afa6886b935bc7ea4c220924589 /math
parent6767fa568a1cff2ba8ab84dcca345de546eb4009 (diff)
downloadfreebsd-ports-f720bd130b9146a727c7ff295e1c431e07549114.tar.gz
freebsd-ports-f720bd130b9146a727c7ff295e1c431e07549114.tar.zst
freebsd-ports-f720bd130b9146a727c7ff295e1c431e07549114.zip
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.
Notes
Notes: svn path=/head/; revision=20079
Diffstat (limited to 'math')
-rw-r--r--math/octave-devel/files/patch-af20
-rw-r--r--math/octave/files/patch-af20
2 files changed, 40 insertions, 0 deletions
diff --git a/math/octave-devel/files/patch-af b/math/octave-devel/files/patch-af
new file mode 100644
index 000000000000..ca96fadf0241
--- /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)
diff --git a/math/octave/files/patch-af b/math/octave/files/patch-af
new file mode 100644
index 000000000000..ca96fadf0241
--- /dev/null
+++ b/math/octave/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)
='column1'>| | | | | Spotted by: Kirill Ponomarew <ponomarew@oberon.net> Notes: svn path=/head/; revision=79397 * Update of the net/smokeping port to version 1.20Yen-Ming Lee2003-04-21