diff options
author | tron <tron@pkgsrc.org> | 1999-04-08 20:04:15 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1999-04-08 20:04:15 +0000 |
commit | 5770cd5d43c5f050318316e0da355aff9c2d7e41 (patch) | |
tree | 9d392c6e336b5564c3cc6a0673612820f6f235b3 /misc/pty-redir/patches | |
parent | 65874c81749c035acfa91f85e08cebe87c500104 (diff) | |
download | pkgsrc-5770cd5d43c5f050318316e0da355aff9c2d7e41.tar.gz |
Import new "pty-redir" package supplied by Dustin Sallings in PR pkg/7030:
Attach a program's stdio to a pty.
Diffstat (limited to 'misc/pty-redir/patches')
-rw-r--r-- | misc/pty-redir/patches/patch-aa | 28 | ||||
-rw-r--r-- | misc/pty-redir/patches/patch-ab | 20 |
2 files changed, 48 insertions, 0 deletions
diff --git a/misc/pty-redir/patches/patch-aa b/misc/pty-redir/patches/patch-aa new file mode 100644 index 00000000000..c88661bb4f8 --- /dev/null +++ b/misc/pty-redir/patches/patch-aa @@ -0,0 +1,28 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/04/08 20:04:16 tron Exp $ +*** pty-redir.c.orig Sat Feb 20 17:29:59 1999 +--- pty-redir.c Sat Feb 20 17:34:14 1999 +*************** +*** 72,78 **** + return fd; + } + +! void main(int argc,char *argv[]) + { + int fd; + char a,b; +--- 72,78 ---- + return fd; + } + +! int main(int argc,char *argv[]) + { + int fd; + char a,b; +*************** +*** 106,109 **** +--- 106,110 ---- + exit(-2); + } + } ++ exit(0); + } diff --git a/misc/pty-redir/patches/patch-ab b/misc/pty-redir/patches/patch-ab new file mode 100644 index 00000000000..31d28c59051 --- /dev/null +++ b/misc/pty-redir/patches/patch-ab @@ -0,0 +1,20 @@ +$NetBSD: patch-ab,v 1.1.1.1 1999/04/08 20:04:16 tron Exp $ +*** Makefile.orig Sat Feb 20 18:44:40 1999 +--- Makefile Sat Feb 20 18:55:40 1999 +*************** +*** 1,10 **** +--- 1,14 ---- + CFLAGS= -Wall + PROG= pty-redir ++ DEST=/usr/pkg/bin/ + + all: $(PROG) + + clean: + rm -f *.o *~ ++ ++ install: $(PROG) ++ install -c -g wheel -m 0755 -o root -s $(PROG) $(DEST) + + distclean: clean + rm -f $(PROG) |