freebsd-ports/lang/tcl84/files/patch-warnings
Mikhail Teterin d767266adb 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.
2006-06-27 22:27:22 +00:00

12 lines
361 B
Text

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