summaryrefslogtreecommitdiff
path: root/graphics/ivtools/patches/patch-ad
blob: 9e7bbd6411aba365109c329880988baf0b1110cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.5 2006/01/04 11:23:54 markd Exp $

--- src/Dispatch/dispatcher.c.orig	2005-03-22 21:29:18.945569000 +1200
+++ src/Dispatch/dispatcher.c
@@ -659,7 +659,7 @@ int Dispatcher::waitFor(
 #endif
 #else
 #ifdef SA_NOCLDSTOP                   /* POSIX */
-#if defined(hpux) || defined(linux)
+#if defined(hpux) || defined(linux) || (defined(sun) && defined(__svr4__)) || defined(__NetBSD__)
 	sa.sa_handler = (void (*)(int))(&Dispatcher::sigCLD);
 #else
 	sa.sa_handler = fxSIGACTIONHANDLER(&Dispatcher::sigCLD);