aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-10-26 04:44:15 +0800
committerdinoex <dinoex@FreeBSD.org>2003-10-26 04:44:15 +0800
commit18583a024fd4220c6b2d839589db46bc1fdd4653 (patch)
tree0e8b975100c3ce671538d4f5dd86cc801260a9ef /lang
parent11ebeae7c973509e0d01695a0548fcbc609a6aff (diff)
downloadfreebsd-ports-gnome-18583a024fd4220c6b2d839589db46bc1fdd4653.tar.gz
freebsd-ports-gnome-18583a024fd4220c6b2d839589db46bc1fdd4653.tar.zst
freebsd-ports-gnome-18583a024fd4220c6b2d839589db46bc1fdd4653.zip
- 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')
-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);