head 1.10; access; symbols pkgsrc-2026Q1:1.10.0.4 pkgsrc-2026Q1-base:1.10 pkgsrc-2025Q4:1.10.0.2 pkgsrc-2025Q4-base:1.10 pkgsrc-2025Q3:1.9.0.114 pkgsrc-2025Q3-base:1.9 pkgsrc-2025Q2:1.9.0.112 pkgsrc-2025Q2-base:1.9 pkgsrc-2025Q1:1.9.0.110 pkgsrc-2025Q1-base:1.9 pkgsrc-2024Q4:1.9.0.108 pkgsrc-2024Q4-base:1.9 pkgsrc-2024Q3:1.9.0.106 pkgsrc-2024Q3-base:1.9 pkgsrc-2024Q2:1.9.0.104 pkgsrc-2024Q2-base:1.9 pkgsrc-2024Q1:1.9.0.102 pkgsrc-2024Q1-base:1.9 pkgsrc-2023Q4:1.9.0.100 pkgsrc-2023Q4-base:1.9 pkgsrc-2023Q3:1.9.0.98 pkgsrc-2023Q3-base:1.9 pkgsrc-2023Q2:1.9.0.96 pkgsrc-2023Q2-base:1.9 pkgsrc-2023Q1:1.9.0.94 pkgsrc-2023Q1-base:1.9 pkgsrc-2022Q4:1.9.0.92 pkgsrc-2022Q4-base:1.9 pkgsrc-2022Q3:1.9.0.90 pkgsrc-2022Q3-base:1.9 pkgsrc-2022Q2:1.9.0.88 pkgsrc-2022Q2-base:1.9 pkgsrc-2022Q1:1.9.0.86 pkgsrc-2022Q1-base:1.9 pkgsrc-2021Q4:1.9.0.84 pkgsrc-2021Q4-base:1.9 pkgsrc-2021Q3:1.9.0.82 pkgsrc-2021Q3-base:1.9 pkgsrc-2021Q2:1.9.0.80 pkgsrc-2021Q2-base:1.9 pkgsrc-2021Q1:1.9.0.78 pkgsrc-2021Q1-base:1.9 pkgsrc-2020Q4:1.9.0.76 pkgsrc-2020Q4-base:1.9 pkgsrc-2020Q3:1.9.0.74 pkgsrc-2020Q3-base:1.9 pkgsrc-2020Q2:1.9.0.70 pkgsrc-2020Q2-base:1.9 pkgsrc-2020Q1:1.9.0.50 pkgsrc-2020Q1-base:1.9 pkgsrc-2019Q4:1.9.0.72 pkgsrc-2019Q4-base:1.9 pkgsrc-2019Q3:1.9.0.68 pkgsrc-2019Q3-base:1.9 pkgsrc-2019Q2:1.9.0.66 pkgsrc-2019Q2-base:1.9 pkgsrc-2019Q1:1.9.0.64 pkgsrc-2019Q1-base:1.9 pkgsrc-2018Q4:1.9.0.62 pkgsrc-2018Q4-base:1.9 pkgsrc-2018Q3:1.9.0.60 pkgsrc-2018Q3-base:1.9 pkgsrc-2018Q2:1.9.0.58 pkgsrc-2018Q2-base:1.9 pkgsrc-2018Q1:1.9.0.56 pkgsrc-2018Q1-base:1.9 pkgsrc-2017Q4:1.9.0.54 pkgsrc-2017Q4-base:1.9 pkgsrc-2017Q3:1.9.0.52 pkgsrc-2017Q3-base:1.9 pkgsrc-2017Q2:1.9.0.48 pkgsrc-2017Q2-base:1.9 pkgsrc-2017Q1:1.9.0.46 pkgsrc-2017Q1-base:1.9 pkgsrc-2016Q4:1.9.0.44 pkgsrc-2016Q4-base:1.9 pkgsrc-2016Q3:1.9.0.42 pkgsrc-2016Q3-base:1.9 pkgsrc-2016Q2:1.9.0.40 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.38 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.9.0.36 pkgsrc-2015Q4-base:1.9 pkgsrc-2015Q3:1.9.0.34 pkgsrc-2015Q3-base:1.9 pkgsrc-2015Q2:1.9.0.32 pkgsrc-2015Q2-base:1.9 pkgsrc-2015Q1:1.9.0.30 pkgsrc-2015Q1-base:1.9 pkgsrc-2014Q4:1.9.0.28 pkgsrc-2014Q4-base:1.9 pkgsrc-2014Q3:1.9.0.26 pkgsrc-2014Q3-base:1.9 pkgsrc-2014Q2:1.9.0.24 pkgsrc-2014Q2-base:1.9 pkgsrc-2014Q1:1.9.0.22 pkgsrc-2014Q1-base:1.9 pkgsrc-2013Q4:1.9.0.20 pkgsrc-2013Q4-base:1.9 pkgsrc-2013Q3:1.9.0.18 pkgsrc-2013Q3-base:1.9 pkgsrc-2013Q2:1.9.0.16 pkgsrc-2013Q2-base:1.9 pkgsrc-2013Q1:1.9.0.14 pkgsrc-2013Q1-base:1.9 pkgsrc-2012Q4:1.9.0.12 pkgsrc-2012Q4-base:1.9 pkgsrc-2012Q3:1.9.0.10 pkgsrc-2012Q3-base:1.9 pkgsrc-2012Q2:1.9.0.8 pkgsrc-2012Q2-base:1.9 pkgsrc-2012Q1:1.9.0.6 pkgsrc-2012Q1-base:1.9 pkgsrc-2011Q4:1.9.0.4 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q3:1.9.0.2 pkgsrc-2011Q3-base:1.9 pkgsrc-2011Q2:1.8.0.50 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.48 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.8.0.46 pkgsrc-2010Q4-base:1.8 pkgsrc-2010Q3:1.8.0.44 pkgsrc-2010Q3-base:1.8 pkgsrc-2010Q2:1.8.0.42 pkgsrc-2010Q2-base:1.8 pkgsrc-2010Q1:1.8.0.40 pkgsrc-2010Q1-base:1.8 pkgsrc-2009Q4:1.8.0.38 pkgsrc-2009Q4-base:1.8 pkgsrc-2009Q3:1.8.0.36 pkgsrc-2009Q3-base:1.8 pkgsrc-2009Q2:1.8.0.34 pkgsrc-2009Q2-base:1.8 pkgsrc-2009Q1:1.8.0.32 pkgsrc-2009Q1-base:1.8 pkgsrc-2008Q4:1.8.0.30 pkgsrc-2008Q4-base:1.8 pkgsrc-2008Q3:1.8.0.28 pkgsrc-2008Q3-base:1.8 cube-native-xorg:1.8.0.26 cube-native-xorg-base:1.8 pkgsrc-2008Q2:1.8.0.24 pkgsrc-2008Q2-base:1.8 cwrapper:1.8.0.22 pkgsrc-2008Q1:1.8.0.20 pkgsrc-2008Q1-base:1.8 pkgsrc-2007Q4:1.8.0.18 pkgsrc-2007Q4-base:1.8 pkgsrc-2007Q3:1.8.0.16 pkgsrc-2007Q3-base:1.8 pkgsrc-2007Q2:1.8.0.14 pkgsrc-2007Q2-base:1.8 pkgsrc-2007Q1:1.8.0.12 pkgsrc-2007Q1-base:1.8 pkgsrc-2006Q4:1.8.0.10 pkgsrc-2006Q4-base:1.8 pkgsrc-2006Q3:1.8.0.8 pkgsrc-2006Q3-base:1.8 pkgsrc-2006Q2:1.8.0.6 pkgsrc-2006Q2-base:1.8 pkgsrc-2006Q1:1.8.0.4 pkgsrc-2006Q1-base:1.8 pkgsrc-2005Q4:1.8.0.2 pkgsrc-2005Q4-base:1.8 pkgsrc-2005Q3:1.7.0.16 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.7.0.14 pkgsrc-2005Q2-base:1.7 pkgsrc-2005Q1:1.7.0.12 pkgsrc-2005Q1-base:1.7 pkgsrc-2004Q4:1.7.0.10 pkgsrc-2004Q4-base:1.7 pkgsrc-2004Q3:1.7.0.8 pkgsrc-2004Q3-base:1.7 pkgsrc-2004Q2:1.7.0.6 pkgsrc-2004Q2-base:1.7 pkgsrc-2004Q1:1.7.0.4 pkgsrc-2004Q1-base:1.7 pkgsrc-2003Q4:1.7.0.2 pkgsrc-2003Q4-base:1.7 buildlink2-base:1.7 comdex-fall-1999:1.6 netbsd-1-4-PATCH001:1.4 netbsd-1-4-RELEASE:1.4 netbsd-1-3-PATCH003:1.3; locks; strict; comment @# @; 1.10 date 2025.10.11.22.14.36; author mrg; state Exp; branches; next 1.9; commitid D3yGTZggRfHTxceG; 1.9 date 2011.08.25.14.54.06; author hans; state Exp; branches; next 1.8; 1.8 date 2005.12.18.23.15.43; author joerg; state Exp; branches; next 1.7; 1.7 date 99.12.20.12.33.48; author fredb; state dead; branches; next 1.6; 1.6 date 99.10.06.22.26.51; author tron; state Exp; branches; next 1.5; 1.5 date 99.10.05.06.45.34; author sjg; state Exp; branches; next 1.4; 1.4 date 99.03.26.23.59.59; author tron; state Exp; branches; next 1.3; 1.3 date 98.08.07.10.36.40; author agc; state Exp; branches; next 1.2; 1.2 date 98.06.20.21.24.09; author tron; state Exp; branches; next 1.1; 1.1 date 98.06.19.21.17.20; author tron; state Exp; branches; next ; desc @@ 1.10 log @fix some issues with the netbsd port to make GCC 14 happier. - include and for openpty() and ioctl(). - set MAINTYPE=int for netbsd targets. @ text @$NetBSD: patch-ac,v 1.9 2011/08/25 14:54:06 hans Exp $ --- ckcdeb.h.orig 2010-08-23 06:30:56.000000000 -0700 +++ ckcdeb.h 2025-10-11 15:06:08.218109885 -0700 @@@@ -2190,6 +2190,9 @@@@ _PROTOTYP( void bleep, (short) ); #endif /* __FreeBSD__ */ #endif /* __linux__ */ #endif /* HAVE_OPENPTY */ +#ifdef __NetBSD__ +#include +#endif #endif /* NO_OPENPTY */ /* Kermit feature selection */ @@@@ -4532,7 +4535,6 @@@@ extern int errno; following is an anachronism and should be the execption rather than the rule. */ -extern int errno; #endif /* __GLIBC__ */ #endif /* OS2 */ #endif /* VMS */ @@@@ -5292,6 +5294,9 @@@@ typedef int WAIT_T; #undef CK_OSF_BSD #endif /* CK_OSF_BSD */ #else /* !POSIX */ +#ifdef __NetBSD__ +#include +#endif typedef int WAIT_T; #endif /* POSIX */ #endif /* MACHWAIT */ @ 1.9 log @Update to 9.0.302, see http://www.columbia.edu/kermit/ck90.html for more information. Tested on NetBSD-current and OpenIndiana. Support for ssl and kerberos is now available through the options framework. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.8 2005/12/18 23:15:43 joerg Exp $ d3 13 a15 3 --- ckcdeb.h.orig 2010-08-23 15:30:56.000000000 +0200 +++ ckcdeb.h 2011-08-23 10:31:55.103102070 +0200 @@@@ -4532,7 +4532,6 @@@@ extern int errno; d23 10 @ 1.8 log @Add read-ahead hack for DragonFly, manually casting to the "public" version of FILE. Kids, don't try that at home. Fix errno. @ text @d1 1 a1 1 $NetBSD$ d3 5 a7 5 --- ckcdeb.h.orig 2005-12-18 22:51:39.000000000 +0000 +++ ckcdeb.h @@@@ -4481,7 +4481,6 @@@@ extern int errno; The following declaration would cause problems for VMS and OS/2, in which errno is an "extern volatile int noshare"... d9 1 a9 1 - extern int errno; /* Needed by most modules. */ @ 1.7 log @Update kermit to 7.0.96.beta11. Numerous changes, too many to list, but here's a couple: - - kermit protocol transfers default to "fast" mode - - support for SOCKS and sun X.25 (both untested) @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.6 1999/10/06 22:26:51 tron Exp $ d3 10 a12 47 --- 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 */ #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 */ @ 1.6 log @Add RCS Id and convert to unified format. @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @add 14400 and 28800 for BSD44 @ text @d1 49 a49 63 *** 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 */ @ 1.4 log @Always use big buffers. Fixes PR pkg/7236 by Greg A. Woods. @ text @d1 63 a63 27 $NetBSD$ --- 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 @ 1.3 log @Add NetBSD RCS Ids. @ text @d3 13 a15 3 --- ckcdeb.h.orig Mon Nov 25 01:20:48 1996 +++ ckcdeb.h Sat Jun 20 23:20:14 1998 @@@@ -908,10 +908,10 @@@@ @ 1.2 log @Apply fix to the real source of the problem. @ text @d1 2 @ 1.1 log @Make "kermit" 64bit clean using patches supplied by Tim Rightnour in PR pkg/5609. @ text @d1 15 a15 12 --- ckuus5.c.orig Thu Jun 18 04:32:48 1998 +++ ckuus5.c Thu Jun 18 05:00:44 1998 @@@@ -2540,4 +2540,6 @@@@ q[i] = m_arg[maclvl][i]; - debug(F111,"popclvl mac 8", - (maclvl > -1 && macx[maclvl]) ? macx[maclvl] : "",maclvl); + if (maclvl > -1 && macx[maclvl]) + debug(F111,"popclvl mac 8",macx[maclvl],maclvl); + else + debug(F111,"popclvl mac 8","",maclvl); } else maclvl = -1; @