FreeBSD Bugzilla – Attachment 174566 Details for
Bug 212512
lang/tcl86: remove unnecessary use of fpsetround
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
add patch file to remove fpsetround use in tcl
tcl-fpsetround.diff (text/plain), 1.18 KB, created by
Ed Maste
on 2016-09-09 00:32:08 UTC
(
hide
)
Description:
add patch file to remove fpsetround use in tcl
Filename:
MIME Type:
Creator:
Ed Maste
Created:
2016-09-09 00:32:08 UTC
Size:
1.18 KB
patch
obsolete
>commit 623f1ebfe4e2350114e59435ba361070d4b6a542 >Author: Ed Maste <emaste@freebsd.org> >Date: Thu Sep 8 20:24:01 2016 -0400 > > add patch to remove fpsetround use from tcl86 > > fpsetround is non-standard and is not provided on arm64 or riscv. > On architectures where fpsetround does exist, fpsetround(FP_RN) just > sets the rounding mode to the already-set default. > >diff --git a/lang/tcl86/files/patch-unix-tclUnixInit.c b/lang/tcl86/files/patch-unix-tclUnixInit.c >new file mode 100644 >index 0000000..ba86ac9 >--- /dev/null >+++ b/lang/tcl86/files/patch-unix-tclUnixInit.c >@@ -0,0 +1,17 @@ >+--- 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 >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 212512
: 174566