$NetBSD: patch-cc,v 1.2 2008/09/18 11:51:37 taca Exp $

See patch-ca.

--- sql/stacktrace.c.orig	2008-08-04 15:20:12.000000000 +0300
+++ sql/stacktrace.c	2008-09-16 13:53:45.000000000 +0300
@@ -252,7 +252,7 @@
   __gcov_flush();
 #endif
   pthread_kill(pthread_self(), sig);
-#if defined(P_MYID) && !defined(SCO)
+#if HAVE_SIGSEND && defined(P_MYID) && !defined(SCO)
   /* On Solaris, the above kill is not enough */
   sigsend(P_PID,P_MYID,sig);
 #endif
