summaryrefslogtreecommitdiff
path: root/misc/pty-redir/patches
diff options
context:
space:
mode:
Diffstat (limited to 'misc/pty-redir/patches')
-rw-r--r--misc/pty-redir/patches/patch-aa28
-rw-r--r--misc/pty-redir/patches/patch-ab20
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)