diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-10-25 20:44:15 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-10-25 20:44:15 +0000 |
commit | 18583a024fd4220c6b2d839589db46bc1fdd4653 (patch) | |
tree | 0e8b975100c3ce671538d4f5dd86cc801260a9ef /lang/tcl84/files | |
parent | 11ebeae7c973509e0d01695a0548fcbc609a6aff (diff) | |
download | FreeBSD-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.c | 13 |
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); |