summaryrefslogtreecommitdiffstats
path: root/lang/tcl84/files
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-10-25 20:44:15 +0000
committerdinoex <dinoex@FreeBSD.org>2003-10-25 20:44:15 +0000
commit18583a024fd4220c6b2d839589db46bc1fdd4653 (patch)
tree0e8b975100c3ce671538d4f5dd86cc801260a9ef /lang/tcl84/files
parent11ebeae7c973509e0d01695a0548fcbc609a6aff (diff)
downloadFreeBSD-ports-18583a024fd4220c6b2d839589db46bc1fdd4653.zip
FreeBSD-ports-18583a024fd4220c6b2d839589db46bc1fdd4653.tar.gz
- add patch for:
FreeBSD only provides the __fpsetreg() used by the following two for the GNU Compiler. When using, say, Intel's icc they break. Submitted by: root@celsius.bychok.com
Diffstat (limited to 'lang/tcl84/files')
-rw-r--r--lang/tcl84/files/patch-tclUnixInit.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/tcl84/files/patch-tclUnixInit.c b/lang/tcl84/files/patch-tclUnixInit.c
new file mode 100644
index 0000000..1226e01
--- /dev/null
+++ b/lang/tcl84/files/patch-tclUnixInit.c
@@ -0,0 +1,13 @@
+--- tclUnixInit.c Thu May 15 13:29:41 2003
++++ tclUnixInit.c Sun Oct 19 12:39:44 2003
+@@ -184,5 +184,9 @@
+ #endif /* SIGPIPE */
+
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) && defined(__GNUC__)
++/*
++ * FreeBSD only provides the __fpsetreg() used by the following two
++ * for the GNU Compiler. When using, say, Intel's icc they break.
++ */
+ fpsetround(FP_RN);
+ fpsetmask(0L);
OpenPOWER on IntegriCloud