summaryrefslogtreecommitdiff
path: root/graphics/xaos
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>1999-09-07 10:22:48 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>1999-09-07 10:22:48 +0000
commita0261dc0b9de2c34c4a8c9f60f72e90be9eabb5f (patch)
tree38cb7a8067791e7ca1bcb2d204649328f4e4a4b8 /graphics/xaos
parentUpdate FXTV to version 1.00 (diff)
Fix i386 specific breakage from the previous commit.
fpsetmask() is a macro on the i386; preprocessor commands are consequently not allowed in its argument list. Found by: PW's build scripts.
Notes
Notes: svn path=/head/; revision=21364
Diffstat (limited to 'graphics/xaos')
-rw-r--r--graphics/xaos/files/patch-aa9
1 files changed, 5 insertions, 4 deletions
diff --git a/graphics/xaos/files/patch-aa b/graphics/xaos/files/patch-aa
index a027cc25151c..05af514f3a3e 100644
--- a/graphics/xaos/files/patch-aa
+++ b/graphics/xaos/files/patch-aa
@@ -109,8 +109,8 @@
#include <stdio.h>
#else
#include <u.h>
---- src/engine/fractal.c-- Fri Jul 3 14:05:20 1998
-+++ src/engine/fractal.c Fri Jul 3 17:24:31 1998
+--- src/engine/fractal.c-- Thu Mar 5 03:19:12 1998
++++ src/engine/fractal.c Wed Sep 8 00:45:59 1999
@@ -20,15 +20,21 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
@@ -168,17 +168,18 @@
#ifdef __alpha__
#ifdef __linux__
extern void ieee_set_fp_control(unsigned long);
-@@ -352,6 +365,15 @@
+@@ -352,6 +365,16 @@
/*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 |
+#ifdef __alpha__
++ (void) fpsetmask(~(FP_X_INV | FP_X_OFL | FP_X_UFL | FP_X_DZ |
+ FP_X_IMP));
+#else
++ (void) fpsetmask(~(FP_X_INV | FP_X_OFL | FP_X_UFL | FP_X_DZ |
+ FP_X_IMP | FP_X_DNML));
+#endif
#endif