- 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
This commit is contained in:
parent
62f1b705dd
commit
2682b52ed9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92133
2 changed files with 14 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= tcl
|
||||
PORTVERSION= 8.4.4
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= lang tcl84
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
|
|
13
lang/tcl84/files/patch-tclUnixInit.c
Normal file
13
lang/tcl84/files/patch-tclUnixInit.c
Normal file
|
@ -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);
|
Loading…
Reference in a new issue