diff options
author | danw <danw@pkgsrc.org> | 2003-10-10 01:11:20 +0000 |
---|---|---|
committer | danw <danw@pkgsrc.org> | 2003-10-10 01:11:20 +0000 |
commit | 7af744c5db6cd7477e18058e314c3f39042661f1 (patch) | |
tree | 0667166a3b5d2b446d054c119ae3a2dc9057829c /print/teTeX-bin/patches | |
parent | eac7b88330f1680c21fd3dd98ce22d9f21cc7b18 (diff) | |
download | pkgsrc-7af744c5db6cd7477e18058e314c3f39042661f1.tar.gz |
fixes for Darwin. PR 20514
Diffstat (limited to 'print/teTeX-bin/patches')
-rw-r--r-- | print/teTeX-bin/patches/patch-aa | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/print/teTeX-bin/patches/patch-aa b/print/teTeX-bin/patches/patch-aa index 05c8091e575..253158d1634 100644 --- a/print/teTeX-bin/patches/patch-aa +++ b/print/teTeX-bin/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1.1.1 1999/08/03 13:54:56 hubertf Exp $ +$NetBSD: patch-aa,v 1.2 2003/10/10 01:11:20 danw Exp $ Note that POSIX uses SIGCHLD ...! - HF @@ -8,7 +8,7 @@ Note that POSIX uses SIGCHLD ...! - HF fatal (setmode, setmode (cs_pipe[1], O_BINARY) == -1); #endif -+#ifdef __NetBSD__ ++#ifndef SIGCLD + old = signal (SIGCHLD, child_died); +#else old = signal (SIGCLD, child_died); @@ -20,7 +20,7 @@ Note that POSIX uses SIGCHLD ...! - HF fatal (close, close (sc_pipe[1]) == -1); fatal (close, close (cs_pipe[0]) == -1); fatal (close, close (cs_pipe[1]) == -1); -+#ifdef __NetBSD__ ++#ifndef SIGCLD + fatal (signal, signal (SIGCHLD, old) == SIG_ERR); +#else fatal (signal, signal (SIGCLD, old) == SIG_ERR); |