diff options
author | steve <steve@FreeBSD.org> | 2000-02-20 20:56:37 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-02-20 20:56:37 +0000 |
commit | 19202ded54c5199509849f998f21ca2cde478044 (patch) | |
tree | 251ea869b568200e8c12c52dadecc7371582f60c /math | |
parent | f82ddcce19733ef42fb6aa0ec627da8576255a52 (diff) | |
download | FreeBSD-ports-19202ded54c5199509849f998f21ca2cde478044.zip FreeBSD-ports-19202ded54c5199509849f998f21ca2cde478044.tar.gz |
The Alpha's fpsetmask(3) routine doesn't have a FP_X_DNML bit, so remove it
and get this port to building again.
Diffstat (limited to 'math')
-rw-r--r-- | math/octave-devel/files/patch-ag | 14 | ||||
-rw-r--r-- | math/octave/files/patch-ag | 14 |
2 files changed, 28 insertions, 0 deletions
diff --git a/math/octave-devel/files/patch-ag b/math/octave-devel/files/patch-ag new file mode 100644 index 0000000..91182ab --- /dev/null +++ b/math/octave-devel/files/patch-ag @@ -0,0 +1,14 @@ +--- src/sysdep.cc.orig Fri Feb 18 11:51:53 2000 ++++ src/sysdep.cc Fri Feb 18 11:52:46 2000 +@@ -110,7 +110,11 @@ + { + #if defined (HAVE_FLOATINGPOINT_H) + // Disable trapping on common exceptions. ++#if defined(__alpha__) ++ fpsetmask (~(FP_X_OFL|FP_X_INV|FP_X_DZ|FP_X_UFL|FP_X_IMP)); ++#else + fpsetmask (~(FP_X_OFL|FP_X_INV|FP_X_DZ|FP_X_DNML|FP_X_UFL|FP_X_IMP)); ++#endif + #endif + } + #endif diff --git a/math/octave/files/patch-ag b/math/octave/files/patch-ag new file mode 100644 index 0000000..91182ab --- /dev/null +++ b/math/octave/files/patch-ag @@ -0,0 +1,14 @@ +--- src/sysdep.cc.orig Fri Feb 18 11:51:53 2000 ++++ src/sysdep.cc Fri Feb 18 11:52:46 2000 +@@ -110,7 +110,11 @@ + { + #if defined (HAVE_FLOATINGPOINT_H) + // Disable trapping on common exceptions. ++#if defined(__alpha__) ++ fpsetmask (~(FP_X_OFL|FP_X_INV|FP_X_DZ|FP_X_UFL|FP_X_IMP)); ++#else + fpsetmask (~(FP_X_OFL|FP_X_INV|FP_X_DZ|FP_X_DNML|FP_X_UFL|FP_X_IMP)); ++#endif + #endif + } + #endif |