freebsd-ports/lang/tcl84/files/patch-siginfo
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

18 lines
485 B
Text

--- ../generic/tclPosixStr.c Mon May 27 06:14:21 2002
+++ ../generic/tclPosixStr.c Tue Jun 27 13:14:57 2006
@@ -1044,4 +1044,7 @@ Tcl_SignalId(sig)
case SIGXFSZ: return "SIGXFSZ";
#endif
+#ifdef SIGINFO
+ case SIGINFO: return "SIGINFO";
+#endif
}
return "unknown signal";
@@ -1175,4 +1178,7 @@ Tcl_SignalMsg(sig)
#ifdef SIGXFSZ
case SIGXFSZ: return "exceeded file size limit";
+#endif
+#ifdef SIGINFO
+ case SIGINFO: return "information/status request";
#endif
}