From c60f47451a9a31ccb1de1bfa0d4fba4694f06c93 Mon Sep 17 00:00:00 2001 From: sjg Date: Tue, 5 Oct 1999 06:45:34 +0000 Subject: add 14400 and 28800 for BSD44 --- comms/kermit/patches/patch-ac | 90 ++++++++++++++++++++++++++++++------------- 1 file changed, 63 insertions(+), 27 deletions(-) (limited to 'comms/kermit') diff --git a/comms/kermit/patches/patch-ac b/comms/kermit/patches/patch-ac index 9ab1493614b..7b880616204 100644 --- a/comms/kermit/patches/patch-ac +++ b/comms/kermit/patches/patch-ac @@ -1,27 +1,63 @@ -$NetBSD: patch-ac,v 1.4 1999/03/26 23:59:59 tron Exp $ - ---- ckcdeb.h.orig Sun Nov 24 19:20:48 1996 -+++ ckcdeb.h Wed Mar 24 23:06:20 1999 -@@ -267,6 +267,9 @@ - #ifndef NOSETBUF /* NOSETBUF is safe */ - #define NOSETBUF - #endif /* NOSETBUF */ -+#ifndef BIGBUFOK /* BIGBUFOK is safe (all 32bit) */ -+#define BIGBUFOK -+#endif /* BIGBUFOK */ - #ifndef DIRENT /* Uses */ - #define DIRENT - #endif /* DIRENT */ -@@ -908,10 +911,10 @@ - /* Now define the debug() macro. */ - #ifdef IFDEBUG - /* Use this form to avoid function calls: */ --#define debug(a,b,c,d) if (deblog) dodebug(a,b,(char *)c,(long)d) -+#define debug(a,b,c,d) if (deblog) dodebug(a,b,(char *)(c),(long)d) - #else - /* Use this form to save space: */ --#define debug(a,b,c,d) dodebug(a,b,(char *)c,(long)d) -+#define debug(a,b,c,d) dodebug(a,b,(char *)(c),(long)d) - #endif /* MAC */ - - #ifdef COMMENT +*** ckcdeb.h.orig Mon Nov 25 11:20:48 1996 +--- ckcdeb.h Tue Oct 5 16:10:33 1999 +*************** +*** 267,272 **** +--- 267,275 ---- + #ifndef NOSETBUF /* NOSETBUF is safe */ + #define NOSETBUF + #endif /* NOSETBUF */ ++ #ifndef BIGBUFOK /* BIGBUFOK is safe (all 32bit) */ ++ #define BIGBUFOK ++ #endif /* BIGBUFOK */ + #ifndef DIRENT /* Uses */ + #define DIRENT + #endif /* DIRENT */ +*************** +*** 908,917 **** + /* Now define the debug() macro. */ + #ifdef IFDEBUG + /* Use this form to avoid function calls: */ +! #define debug(a,b,c,d) if (deblog) dodebug(a,b,(char *)c,(long)d) + #else + /* Use this form to save space: */ +! #define debug(a,b,c,d) dodebug(a,b,(char *)c,(long)d) + #endif /* MAC */ + + #ifdef COMMENT +--- 911,920 ---- + /* Now define the debug() macro. */ + #ifdef IFDEBUG + /* Use this form to avoid function calls: */ +! #define debug(a,b,c,d) if (deblog) dodebug(a,b,(char *)(c),(long)d) + #else + /* Use this form to save space: */ +! #define debug(a,b,c,d) dodebug(a,b,(char *)(c),(long)d) + #endif /* MAC */ + + #ifdef COMMENT +*************** +*** 1489,1494 **** +--- 1492,1501 ---- + #else + #ifdef AMIGA + #define BPS_14K ++ #else ++ #ifdef BSD44 ++ #define BPS_14K ++ #endif /* BSD44 */ + #endif /* AMIGA */ + #endif /* MAC */ + #endif /* NEXT */ +*************** +*** 1505,1510 **** +--- 1512,1521 ---- + #else + #ifdef MAC + #define BPS_28K /* 28800 bps */ ++ #else ++ #ifdef BSD44 ++ #define BPS_28K ++ #endif /* BSD44 */ + #endif /* MAC */ + #endif /* NEXT */ + #endif /* NOB_28K */ -- cgit v1.2.3