summaryrefslogtreecommitdiff
path: root/net/tn3270/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/tn3270/files')
-rw-r--r--net/tn3270/files/patch-aa19
-rw-r--r--net/tn3270/files/patch-ab10
-rw-r--r--net/tn3270/files/patch-commands.c44
-rw-r--r--net/tn3270/files/patch-system.c15
4 files changed, 0 insertions, 88 deletions
diff --git a/net/tn3270/files/patch-aa b/net/tn3270/files/patch-aa
deleted file mode 100644
index ea87d58d6fa4..000000000000
--- a/net/tn3270/files/patch-aa
+++ /dev/null
@@ -1,19 +0,0 @@
---- tn3270/Makefile Mon Aug 30 22:22:49 1999
-+++ tn3270/Makefile Tue Mar 27 12:49:06 2001
-@@ -1,12 +1,14 @@
- # @(#)Makefile 8.1 (Berkeley) 6/6/93
-
-+LIBTELNET=${.CURDIR}/../libtelnet/libtelnet.a
-+
- PROG= tn3270
- CFLAGS+=-I${.CURDIR} -I.
- DPADD= ${LIBCURSES} ${LIBTERMCAP} ${LIBTELNET} ${LIBCRYPT}
--LDADD= -lcurses -ltermcap -ltelnet -lcrypt
-+LDADD= -lcurses -ltermcap ${LIBTELNET} -lcrypt
- CLEANFILES+= asc_disp.OUT asc_disp.out disp_asc.OUT disp_asc.out TMPfunc.out
- .PATH: ${.CURDIR}/../api ${.CURDIR}/../ascii ${.CURDIR}/../ctlr
--.PATH: ${.CURDIR}/../general ${.CURDIR}/../sys_curses ${.CURDIR}/../../telnet
-+.PATH: ${.CURDIR}/../general ${.CURDIR}/../sys_curses ${.CURDIR}/../telnet
-
- MAN1= tn3270.1
-
diff --git a/net/tn3270/files/patch-ab b/net/tn3270/files/patch-ab
deleted file mode 100644
index 71767b0dfd13..000000000000
--- a/net/tn3270/files/patch-ab
+++ /dev/null
@@ -1,10 +0,0 @@
---- Makefile Sun Sep 13 16:20:23 1998
-+++ Makefile Tue Mar 27 12:51:31 2001
-@@ -10,6 +10,7 @@
- #
- # XXX this doesn't fix the problem for `make depend' either.
- SUBDIR= tools
-+SUBDIR+=libtelnet
- .endif
-
- SUBDIR+=tn3270 mset
diff --git a/net/tn3270/files/patch-commands.c b/net/tn3270/files/patch-commands.c
deleted file mode 100644
index b65745915aef..000000000000
--- a/net/tn3270/files/patch-commands.c
+++ /dev/null
@@ -1,44 +0,0 @@
---- telnet/commands.c.orig Tue Aug 31 01:52:04 1999
-+++ telnet/commands.c Tue Jan 25 14:15:56 2005
-@@ -55,7 +55,7 @@
- #include <netdb.h>
- #include <ctype.h>
- #include <pwd.h>
--#include <varargs.h>
-+#include <stdarg.h>
- #include <errno.h>
-
- #include <arpa/telnet.h>
-@@ -95,7 +95,9 @@
- extern char **genget();
- extern int Ambiguous();
-
--static call();
-+typedef int (*intrtn_t)();
-+
-+static call(intrtn_t routine, ...);
-
- typedef struct {
- char *name; /* command name */
-@@ -2452,19 +2454,14 @@
- * Call routine with argc, argv set from args (terminated by 0).
- */
-
-- /*VARARGS1*/
- static
--call(va_alist)
-- va_dcl
-+call(intrtn_t routine, ...)
- {
- va_list ap;
-- typedef int (*intrtn_t)();
-- intrtn_t routine;
- char *args[100];
- int argno = 0;
-
-- va_start(ap);
-- routine = (va_arg(ap, intrtn_t));
-+ va_start(ap, routine);
- while ((args[argno++] = va_arg(ap, char *)) != 0) {
- ;
- }
diff --git a/net/tn3270/files/patch-system.c b/net/tn3270/files/patch-system.c
deleted file mode 100644
index b97fe4aefc12..000000000000
--- a/net/tn3270/files/patch-system.c
+++ /dev/null
@@ -1,15 +0,0 @@
---- sys_curses/system.c.orig Tue Jun 4 21:54:07 2002
-+++ sys_curses/system.c Tue Jun 4 21:54:27 2002
-@@ -588,10 +588,10 @@
- static void
- child_died(code)
- {
-- union wait status;
-+ int status;
- register int pid;
-
-- while ((pid = wait3((int *)&status, WNOHANG, (struct rusage *)0)) > 0) {
-+ while ((pid = wait3(&status, WNOHANG, (struct rusage *)0)) > 0) {
- if (pid == shell_pid) {
- int ch;
- extern void setconnmode();