summaryrefslogtreecommitdiff
path: root/lang/tcl84/files/patch-warnings
diff options
context:
space:
mode:
Diffstat (limited to 'lang/tcl84/files/patch-warnings')
-rw-r--r--lang/tcl84/files/patch-warnings16
1 files changed, 9 insertions, 7 deletions
diff --git a/lang/tcl84/files/patch-warnings b/lang/tcl84/files/patch-warnings
index ee2cab063834..609cf4749782 100644
--- a/lang/tcl84/files/patch-warnings
+++ b/lang/tcl84/files/patch-warnings
@@ -1,12 +1,14 @@
Quiet the noisy "already defined" warning triggered, when building with TCL_THREADS.
---- ../unix/tclUnixPort.h Tue Dec 6 04:01:07 2005
-+++ ../unix/tclUnixPort.h Tue Jun 27 15:16:21 2006
-@@ -607,4 +607,7 @@
- #endif
- EXTERN char * TclpInetNtoa(struct in_addr);
+--- ../unix/tclUnixPort.h.orig 2012-11-19 16:27:16 UTC
++++ ../unix/tclUnixPort.h
+@@ -606,6 +606,9 @@ extern double strtod();
+ # undef HAVE_LANGINFO
+ # endif
+ # endif /* MAC_OS_X_VERSION_MAX_ALLOWED */
+#ifdef inet_ntoa
+# undef inet_ntoa
+#endif
- #define inet_ntoa(x) TclpInetNtoa(x)
- #else
+ # if defined(HAVE_COREFOUNDATION) && defined(__LP64__) && \
+ defined(HAVE_WEAK_IMPORT) && MAC_OS_X_VERSION_MIN_REQUIRED < 1050
+ # warning "Weak import of 64-bit CoreFoundation is not supported, will not run on Mac OS X < 10.5."