diff options
-rw-r--r-- | comms/kermit/patches/patch-ac | 112 |
1 files changed, 49 insertions, 63 deletions
diff --git a/comms/kermit/patches/patch-ac b/comms/kermit/patches/patch-ac index 7b880616204..1c61c6c922b 100644 --- a/comms/kermit/patches/patch-ac +++ b/comms/kermit/patches/patch-ac @@ -1,63 +1,49 @@ -*** 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 */ +$NetBSD: patch-ac,v 1.6 1999/10/06 22:26:51 tron Exp $ + +--- ckcdeb.h.orig Mon Nov 25 01:20:48 1996 ++++ ckcdeb.h Thu Oct 7 00:22:02 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 +@@ -1489,6 +1492,10 @@ + #else + #ifdef AMIGA + #define BPS_14K ++#else ++#ifdef BSD44 ++#define BPS_14K ++#endif /* BSD44 */ + #endif /* AMIGA */ + #endif /* MAC */ + #endif /* NEXT */ +@@ -1505,6 +1512,10 @@ + #else + #ifdef MAC + #define BPS_28K /* 28800 bps */ ++#else ++#ifdef BSD44 ++#define BPS_28K ++#endif /* BSD44 */ + #endif /* MAC */ + #endif /* NEXT */ + #endif /* NOB_28K */ |