1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/lang/tcl85/files/patch-tclUnixInit.c
Pietro Cerutti ddeab292f8 lang/tcl8*: remove use of fpsetround
Pushed upstream: http://core.tcl.tk/tcl/info/20c19f9d5593455a

PR:		212512
Submitted by:	emaste
2016-09-09 07:47:01 +00:00

18 lines
584 B
C

--- tclUnixInit.c.orig 2016-09-08 20:22:10.064101000 -0400
+++ tclUnixInit.c 2016-09-08 20:22:42.345592000 -0400
@@ -391,14 +391,6 @@
#endif /* SIGPIPE */
#if defined(__FreeBSD__) && defined(__GNUC__)
- /*
- * Adjust the rounding mode to be more conventional. Note that FreeBSD
- * only provides the __fpsetreg() used by the following two for the GNU
- * Compiler. When using, say, Intel's icc they break. (Partially based on
- * patch in BSD ports system from root@celsius.bychok.com)
- */
-
- fpsetround(FP_RN);
(void) fpsetmask(0L);
#endif