aboutsummaryrefslogtreecommitdiff
path: root/lang/tcl84
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-10-25 20:44:15 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-10-25 20:44:15 +0000
commit2682b52ed966c763525ac9e20e6a668907eae68f (patch)
treed277ec3d910d5ce1f677595cd74cf31c8cd3592c /lang/tcl84
parent62f1b705dd43ab6ac5e2f02fa653c973f37c0904 (diff)
Notes
Diffstat (limited to 'lang/tcl84')
-rw-r--r--lang/tcl84/Makefile1
-rw-r--r--lang/tcl84/files/patch-tclUnixInit.c13
2 files changed, 14 insertions, 0 deletions
diff --git a/lang/tcl84/Makefile b/lang/tcl84/Makefile
index a556e53b38ff..378b08d66cae 100644
--- a/lang/tcl84/Makefile
+++ b/lang/tcl84/Makefile
@@ -7,6 +7,7 @@
PORTNAME= tcl
PORTVERSION= 8.4.4
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= lang tcl84
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
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);