1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/lang/tcl86/files/patch-unix-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
594 B
C

--- unix/tclUnixInit.c.orig 2016-09-08 20:22:10.064101000 -0400
+++ unix/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