aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-06-22 17:34:14 +0000
committerSteve Price <steve@FreeBSD.org>1999-06-22 17:34:14 +0000
commitcc81e5d1c438da49f68f8442be5554b399d4de2f (patch)
treef0273c8718ed38b867e26f8ab2ba73e656b83210 /graphics
parentded21ab4a4bf8f01abde697a8426b2c8ca451b03 (diff)
downloadports-cc81e5d1c438da49f68f8442be5554b399d4de2f.tar.gz
ports-cc81e5d1c438da49f68f8442be5554b399d4de2f.zip
The Alpha's fp mask register doesn't have a FP_X_DNML bit.
Notes
Notes: svn path=/head/; revision=19669
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xaos/files/patch-aa8
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/xaos/files/patch-aa b/graphics/xaos/files/patch-aa
index 205a1714570a..a027cc25151c 100644
--- a/graphics/xaos/files/patch-aa
+++ b/graphics/xaos/files/patch-aa
@@ -168,15 +168,19 @@
#ifdef __alpha__
#ifdef __linux__
extern void ieee_set_fp_control(unsigned long);
-@@ -352,6 +365,11 @@
+@@ -352,6 +365,15 @@
/*fcr &= ~(FPINEX | FPOVFL | FPUNFL | FPZDIV);*/
setfcr (fcr);
}
+#endif
+#ifdef BSD
+ /* ignore all possible exceptions */
-+ (void) fpsetmask(~(FP_X_INV | FP_X_OFL | FP_X_UFL | FP_X_DZ |
++ (void) fpsetmask(~(FP_X_INV | FP_X_OFL | FP_X_UFL | FP_X_DZ |
++#ifdef __alpha__
++ FP_X_IMP));
++#else
+ FP_X_IMP | FP_X_DNML));
++#endif
#endif
new_ctxt = (fractal_context *) calloc (sizeof (fractal_context), 1);
if (new_ctxt == NULL)