aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>1999-09-07 18:22:48 +0800
committerjkoshy <jkoshy@FreeBSD.org>1999-09-07 18:22:48 +0800
commitb426e56e9c981e90b4d5580889899c828c434a73 (patch)
tree33e97b668542aaebf4fe5f73d093d35958f7f65d /graphics
parent5784dda082799ba28ed87f65acdb2f108fbb0f85 (diff)
downloadfreebsd-ports-graphics-b426e56e9c981e90b4d5580889899c828c434a73.tar.gz
freebsd-ports-graphics-b426e56e9c981e90b4d5580889899c828c434a73.tar.zst
freebsd-ports-graphics-b426e56e9c981e90b4d5580889899c828c434a73.zip
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.
Diffstat (limited to 'graphics')
-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 a027cc25151..05af514f3a3 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