diff options
Diffstat (limited to 'lang/tcl/patches/patch-ac')
-rw-r--r-- | lang/tcl/patches/patch-ac | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lang/tcl/patches/patch-ac b/lang/tcl/patches/patch-ac index 4797dfc2ae9..49dcd36dcef 100644 --- a/lang/tcl/patches/patch-ac +++ b/lang/tcl/patches/patch-ac @@ -1,13 +1,13 @@ -$NetBSD: patch-ac,v 1.8 2006/01/16 14:47:35 adam Exp $ +$NetBSD: patch-ac,v 1.9 2006/04/27 08:17:09 adam Exp $ ---- unix/tclUnixInit.c.orig 2005-11-03 17:16:29.000000000 +0100 +--- unix/tclUnixInit.c.orig 2006-01-26 00:06:16.000000000 +0100 +++ unix/tclUnixInit.c @@ -19,7 +19,7 @@ #ifdef HAVE_LANGINFO #include <langinfo.h> #endif --#if defined(__FreeBSD__) -+#if defined(__FreeBSD__) || defined(__DragonFly__) +-#if defined(__FreeBSD__) && defined(__GNUC__) ++#if (defined(__FreeBSD__) || defined(__DragonFly__)) && defined(__GNUC__) # include <floatingpoint.h> #endif #if defined(__bsdi__) @@ -27,12 +27,12 @@ $NetBSD: patch-ac,v 1.8 2006/01/16 14:47:35 adam Exp $ (void) signal(SIGPIPE, SIG_IGN); #endif /* SIGPIPE */ --#ifdef __FreeBSD__ -+#if defined(__FreeBSD__) || defined(__DragonFly__) - fpsetround(FP_RN); - fpsetmask(0L); - #endif -@@ -742,6 +747,11 @@ TclpSetVariables(interp) +-#if defined(__FreeBSD__) && defined(__GNUC__) ++#if (defined(__FreeBSD__) || defined(__DragonFly__)) && defined(__GNUC__) + /* + * Adjust the rounding mode to be more conventional. Note that FreeBSD + * only provides the __fpsetreg() used by the following two for the GNU +@@ -749,6 +754,11 @@ TclpSetVariables(interp) int unameOK; CONST char *user; Tcl_DString ds; @@ -44,7 +44,7 @@ $NetBSD: patch-ac,v 1.8 2006/01/16 14:47:35 adam Exp $ #ifdef HAVE_COREFOUNDATION char tclLibPath[MAXPATHLEN + 1]; -@@ -844,8 +854,16 @@ TclpSetVariables(interp) +@@ -851,8 +861,16 @@ TclpSetVariables(interp) Tcl_SetVar2(interp, "tcl_platform", "osVersion", name.release, TCL_GLOBAL_ONLY|TCL_APPEND_VALUE); } |