summaryrefslogtreecommitdiff
path: root/lang/tcl84/files/patch-warnings
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2006-06-27 22:27:22 +0000
committerMikhail Teterin <mi@FreeBSD.org>2006-06-27 22:27:22 +0000
commitd767266adbd643e36e17a64de581f17774145cef (patch)
treed8d51f83b6e085f7c4add20c68d0b0711da0e3f6 /lang/tcl84/files/patch-warnings
parentUpdate to 0.970 (diff)
Fix up a few issues:
. add recognition of the BSD-specific SIGINFO signal (to be submitted to authors); . avoid even extracting the compat/ subdirectory for fear of picking up a wrong declaration for a function defined in a system library; . force to use the system strstr() instead of building TCL's own (from compat/strstr.c); . similarly, use the system memmove() instead of the (identical) bcopy; . run the vendor's tests as part of the build -- the test failures are not fatal, but may help investigate problems; . fix up the two failing tests so that none currently fail on my two test systems (FreeBSD-6.1-STABLE i386 and amd64) (fixes submitted to authors); . quiet down the noisy warning, triggered in the thread-case by the re-#define of inet_ntoa() in tclUnixPort.h. Bump PORTREVISION.
Diffstat (limited to 'lang/tcl84/files/patch-warnings')
-rw-r--r--lang/tcl84/files/patch-warnings12
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/tcl84/files/patch-warnings b/lang/tcl84/files/patch-warnings
new file mode 100644
index 000000000000..ee2cab063834
--- /dev/null
+++ b/lang/tcl84/files/patch-warnings
@@ -0,0 +1,12 @@
+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);
++#ifdef inet_ntoa
++# undef inet_ntoa
++#endif
+ #define inet_ntoa(x) TclpInetNtoa(x)
+ #else