summaryrefslogtreecommitdiff
path: root/comms/kermit
diff options
context:
space:
mode:
authorsjg <sjg@pkgsrc.org>1999-10-06 13:03:35 +0000
committersjg <sjg@pkgsrc.org>1999-10-06 13:03:35 +0000
commit34b631dcd6a4b5b8ca61af79a121e908922304fd (patch)
tree262dc07694d973a2414be94f0a9ea006857259dd /comms/kermit
parent1b611047cb9fb18a146765ea44714676100bffdb (diff)
downloadpkgsrc-34b631dcd6a4b5b8ca61af79a121e908922304fd.tar.gz
no point letting them select 7200 if we can't set it
Diffstat (limited to 'comms/kermit')
-rw-r--r--comms/kermit/patches/patch-ad62
1 files changed, 57 insertions, 5 deletions
diff --git a/comms/kermit/patches/patch-ad b/comms/kermit/patches/patch-ad
index d44bab8e70b..a6fcb5f9abb 100644
--- a/comms/kermit/patches/patch-ad
+++ b/comms/kermit/patches/patch-ad
@@ -1,8 +1,60 @@
-$NetBSD: patch-ad,v 1.3 1998/08/07 10:36:40 agc Exp $
-
---- ckutio.c.orig Mon Nov 25 01:20:49 1996
-+++ ckutio.c Sat Jun 20 22:44:33 1998
-@@ -7174,9 +7174,9 @@
+--- ckutio.c.orig Mon Nov 25 11:20:49 1996
++++ ckutio.c Wed Oct 6 22:59:54 1999
+@@ -4572,6 +4572,7 @@ ttsspd(cps) int cps; {
+ #endif /* MINIX */
+ case 240: s = B2400; break;
+ case 480: s = B4800; break;
++ case 720: s = B7200; break;
+ #ifndef MINIX
+ case 888: s = B75; s2 = B1200; break; /* 888 = 75/1200 split speed */
+ #endif /* MINIX */
+@@ -4918,6 +4919,10 @@ ttgspd() { /* Get current serial devi
+ case B4800: ss = 4800L; break;
+ #endif /* B4800 */
+
++#ifdef B7200
++ case B7200: ss = 7200L; break;
++#endif /* B7200 */
++
+ #ifdef B9600
+ case B9600: ss = 9600L; break;
+ #endif /* B9600 */
+@@ -7174,9 +7179,9 @@ ztime(s) char **s; {
+ #ifdef ATTSV /* AT&T way */
+ /* extern long time(); */ /* Theoretically these should */
+ char *ctime(); /* already been dcl'd in <time.h> */
+- long clock_storage;
++ time_t clock_storage;
+ clock_storage = time(
+-#ifdef IRIX60
++#if defined(IRIX60) || defined(__NetBSD__)
+ (time_t *)
+ #else
+ (long *)
+--- ckutio.c.orig Mon Nov 25 11:20:49 1996
++++ ckutio.c Wed Oct 6 23:02:25 1999
+@@ -4572,6 +4572,9 @@ ttsspd(cps) int cps; {
+ #endif /* MINIX */
+ case 240: s = B2400; break;
+ case 480: s = B4800; break;
++#ifdef B7200
++ case 720: s = B7200; break;
++#endif
+ #ifndef MINIX
+ case 888: s = B75; s2 = B1200; break; /* 888 = 75/1200 split speed */
+ #endif /* MINIX */
+@@ -4918,6 +4921,10 @@ ttgspd() { /* Get current serial devi
+ case B4800: ss = 4800L; break;
+ #endif /* B4800 */
+
++#ifdef B7200
++ case B7200: ss = 7200L; break;
++#endif /* B7200 */
++
+ #ifdef B9600
+ case B9600: ss = 9600L; break;
+ #endif /* B9600 */
+@@ -7174,9 +7181,9 @@ ztime(s) char **s; {
#ifdef ATTSV /* AT&T way */
/* extern long time(); */ /* Theoretically these should */
char *ctime(); /* already been dcl'd in <time.h> */