aboutsummaryrefslogtreecommitdiff
path: root/lang/tcl84
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2016-09-09 07:47:01 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2016-09-09 07:47:01 +0000
commitddeab292f86b1e1e5601ca61b70cf2ab0b9f3d66 (patch)
tree1e086d47f6d1602d1fdd317272ecc0488e86c589 /lang/tcl84
parent969ba28b210a62ad3f253d8990671b2d2ff0a27a (diff)
Notes
Diffstat (limited to 'lang/tcl84')
-rw-r--r--lang/tcl84/files/patch-tclUnixInit.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/tcl84/files/patch-tclUnixInit.c b/lang/tcl84/files/patch-tclUnixInit.c
new file mode 100644
index 000000000000..ea64d517f850
--- /dev/null
+++ b/lang/tcl84/files/patch-tclUnixInit.c
@@ -0,0 +1,17 @@
+--- tclUnixInit.c.orig 2012-11-19 16:27:16 UTC
++++ tclUnixInit.c
+@@ -268,14 +268,6 @@ TclpInitPlatform()
+ #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);
+ fpsetmask(0L);
+ #endif
+