From 2682b52ed966c763525ac9e20e6a668907eae68f Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Sat, 25 Oct 2003 20:44:15 +0000 Subject: - 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 --- lang/tcl84/files/patch-tclUnixInit.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lang/tcl84/files/patch-tclUnixInit.c (limited to 'lang/tcl84/files') diff --git a/lang/tcl84/files/patch-tclUnixInit.c b/lang/tcl84/files/patch-tclUnixInit.c new file mode 100644 index 000000000000..1226e0138053 --- /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); -- cgit v1.2.3