Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-mysys_stacktrace.c,v 1.1 2016/09/16 06:49:11 adam Exp $
--- mysys/stacktrace.c.orig 2016-03-28 18:06:12.000000000 +0000
+++ mysys/stacktrace.c
@@ -245,7 +245,7 @@ void my_write_core(int sig)
{
signal(sig, SIG_DFL);
pthread_kill(my_thread_self(), sig);
-#if defined(P_MYID)
+#if HAVE_SIGSEND && defined(P_MYID)
/* On Solaris, the above kill is not enough */
sigsend(P_PID,P_MYID,sig);
#endif