diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2009-11-14 12:33:33 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2009-11-14 12:33:33 +0000 |
commit | cc415305a049ca523f2a8cf674009fa77c54fee6 (patch) | |
tree | 6cf30da0266c6ffa712f243cc23f3c1b5c4a4fb8 /lang/racket/files/patch-src-mzscheme-src_number.c | |
parent | - Now fix to use this port on !i386. (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_8_0_0'.release/8.0.0
Diffstat (limited to 'lang/racket/files/patch-src-mzscheme-src_number.c')
-rw-r--r-- | lang/racket/files/patch-src-mzscheme-src_number.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/lang/racket/files/patch-src-mzscheme-src_number.c b/lang/racket/files/patch-src-mzscheme-src_number.c deleted file mode 100644 index bbf431bca29d..000000000000 --- a/lang/racket/files/patch-src-mzscheme-src_number.c +++ /dev/null @@ -1,26 +0,0 @@ ---- ../mzscheme/src/number.c.orig 2008-05-07 23:15:18.000000000 +0200 -+++ ../mzscheme/src/number.c 2008-06-27 08:07:23.000000000 +0200 -@@ -52,6 +52,11 @@ - # define MAX_SHIFT_EVER 32 - #endif - -+#include <sys/param.h> -+#include <fenv.h> -+#pragma STDC FENV_ACCESS ON -+ -+ - /* globals */ - double scheme_infinity_val, scheme_minus_infinity_val; - -@@ -152,7 +157,11 @@ - MZ_SIGSET(SIGFPE, SIG_IGN); - #endif - #ifdef FREEBSD_CONTROL_387 -+#if __FreeBSD_version < 800000 - __fpsetreg(FP_MSKS_FLD, FP_MSKS_REG, FP_MSKS_FLD, FP_MSKS_OFF); -+#else -+ fedisableexcept(FE_ALL_EXCEPT); -+#endif - #endif - #ifdef LINUX_CONTROL_387 - __setfpucw(_FPU_EXTENDED + _FPU_RC_NEAREST + 0x3F); |