From bfadcefe24ff5de2546ed6df8a56e11c68795114 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sun, 20 Feb 2000 20:56:37 +0000 Subject: The Alpha's fpsetmask(3) routine doesn't have a FP_X_DNML bit, so remove it and get this port to building again. --- math/octave/files/patch-ag | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 math/octave/files/patch-ag (limited to 'math/octave') diff --git a/math/octave/files/patch-ag b/math/octave/files/patch-ag new file mode 100644 index 000000000000..91182ab14eb2 --- /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 -- cgit v1.2.3