diff options
author | jmmv <jmmv@pkgsrc.org> | 2003-12-24 12:57:29 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2003-12-24 12:57:29 +0000 |
commit | 239873daa1450b70decb3e4ff24768d15974030f (patch) | |
tree | 1ad4343fae0f7ab26089c8acee2c101427dccc27 /print/teTeX1-bin/patches/patch-aa | |
parent | 34ebce8453bf93f593cf95f7404861d505efafd4 (diff) | |
download | pkgsrc-239873daa1450b70decb3e4ff24768d15974030f.tar.gz |
Reimport of teTeX-bin version 1.0.7nb3 as teTeX1-bin:
This package contains the executables for the teTeX installation
as well as other files that were created when generating the binaries:
info files, format files and manual pages.
Diffstat (limited to 'print/teTeX1-bin/patches/patch-aa')
-rw-r--r-- | print/teTeX1-bin/patches/patch-aa | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/print/teTeX1-bin/patches/patch-aa b/print/teTeX1-bin/patches/patch-aa new file mode 100644 index 00000000000..43e600d6753 --- /dev/null +++ b/print/teTeX1-bin/patches/patch-aa @@ -0,0 +1,30 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/12/24 12:57:30 jmmv Exp $ + +Note that POSIX uses SIGCHLD ...! - HF + +--- texk/web2c/window/mftalk.c.orig Thu Jul 15 16:52:02 1999 ++++ texk/web2c/window/mftalk.c Thu Jul 15 16:52:44 1999 +@@ -102,7 +102,11 @@ + fatal (setmode, setmode (cs_pipe[1], O_BINARY) == -1); + #endif + ++#ifndef SIGCLD ++ old = signal (SIGCHLD, child_died); ++#else + old = signal (SIGCLD, child_died); ++#endif + fatal (old, old == SIG_ERR); + + sprintf (height, "-h%d", screendepth); +@@ -145,7 +149,11 @@ + fatal (close, close (sc_pipe[1]) == -1); + fatal (close, close (cs_pipe[0]) == -1); + fatal (close, close (cs_pipe[1]) == -1); ++#ifndef SIGCLD ++ fatal (signal, signal (SIGCHLD, old) == SIG_ERR); ++#else + fatal (signal, signal (SIGCLD, old) == SIG_ERR); ++#endif + break; + default: + res = read (cs_pipe[0], &ack, sizeof (int)); |