diff options
Diffstat (limited to 'comms/kermit')
-rw-r--r-- | comms/kermit/patches/patch-ac | 90 |
1 files changed, 63 insertions, 27 deletions
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 <dirent.h> */ - #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 <dirent.h> */ + #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 */ |