diff options
Diffstat (limited to 'devel/apr0/patches/patch-aa')
-rw-r--r-- | devel/apr0/patches/patch-aa | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/apr0/patches/patch-aa b/devel/apr0/patches/patch-aa new file mode 100644 index 00000000000..ee12fc5bf51 --- /dev/null +++ b/devel/apr0/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2007/01/24 19:31:24 epg Exp $ + +--- apr/threadproc/unix/signals.c.orig 2005-02-04 15:36:31.000000000 -0500 ++++ apr/threadproc/unix/signals.c +@@ -49,7 +49,7 @@ APR_DECLARE(apr_status_t) apr_proc_kill( + + #if APR_HAVE_SIGACTION + +-#ifdef DARWIN ++#if defined(__NetBSD__) || defined(DARWIN) + static void avoid_zombies(int signo) + { + int exit_status; +@@ -85,7 +85,7 @@ APR_DECLARE(apr_sigfunc_t *) apr_signal( + act.sa_flags |= SA_NOCLDWAIT; + } + #endif +-#ifdef DARWIN ++#if defined(__NetBSD__) || defined(DARWIN) + /* ignoring SIGCHLD or leaving the default disposition doesn't avoid zombies, + * and there is no SA_NOCLDWAIT flag, so catch the signal and reap status in + * the handler to avoid zombies |