head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.166 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.164 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.162 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.160 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.158 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.156 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.154 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.152 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.7.0.150 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.7.0.148 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.146 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.144 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.142 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.140 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.138 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.136 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.134 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.132 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.130 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.128 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.126 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.124 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.122 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.118 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.98 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.120 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.116 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.114 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.112 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.110 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.108 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.106 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.104 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.102 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.100 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.96 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.94 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.92 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.90 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.88 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.86 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.84 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.82 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.80 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.78 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.76 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.74 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.72 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.70 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.68 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.66 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.64 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.62 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.60 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.58 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.56 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.54 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.52 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.7.0.50 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.48 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.7.0.46 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.44 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.42 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.40 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.38 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.36 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.34 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.32 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.30 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.7.0.28 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.26 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.24 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.22 pkgsrc-2008Q2-base:1.7 cwrapper:1.7.0.20 pkgsrc-2008Q1:1.7.0.18 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.16 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.14 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.12 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.10 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.8 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.6 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.4 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.2 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.5.0.2 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.4.0.16 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.2.0.6 netbsd-1-6-1-base:1.2 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.2 netbsd-1-4-PATCH003:1.2 netbsd-1-4-PATCH002:1.2; locks; strict; comment @# @; 1.7 date 2006.01.17.21.23.01; author kristerw; state Exp; branches; next 1.6; 1.6 date 2006.01.03.18.16.10; author joerg; state Exp; branches; next 1.5; 1.5 date 2005.12.10.22.10.47; author christos; state Exp; branches; next 1.4; 1.4 date 2003.11.11.10.42.32; author wiz; state Exp; branches; next 1.3; 1.3 date 2003.11.07.16.35.51; author christos; state Exp; branches; next 1.2; 1.2 date 2000.02.13.14.20.42; author dmcmahill; state Exp; branches; next 1.1; 1.1 date 2000.02.07.03.18.11; author christos; state Exp; branches; next ; desc @@ 1.7 log @Regenerate hand edited patches so that they can be applied using the OS X patch program. @ text @$NetBSD: patch-ad,v 1.6 2006/01/03 18:16:10 joerg Exp $ --- fep_defs.h.orig 1993-05-10 01:23:33.000000000 -0400 +++ fep_defs.h 2005-12-10 16:59:27.000000000 -0500 @@@@ -6 +6 @@@@ -#endif lint +#endif /* lint */ @@@@ -7,3 +7,3 @@@@ -#define MAXCOMLEN 512 /* maximum command length */ +#define MAXCMDLEN 512 /* maximum command length */ #define MAXARGS 64 /* maximum number of arguments */ @@@@ -31,21 +31,21 @@@@ # define isctlchar(c) (c && !iskanji(c) && (!(c&0140) || c=='\177')) # define iswordchar(c) (c && (iskanji(c) || isalnum(c) || iscntrl(c))) # define isWordchar(c) ((c) && !isspace((c))) -#else KANJI +#else /* KANJI */ # define isctlchar(c) (c && (!(c&0140) || c=='\177')) # define iswordchar(c) (isalnum(c) || iscntrl(c)) # define isWordchar(c) ((c) && !isspace((c))) -#endif KANJI +#endif /* KANJI */ #define unctl(c) (((c)=='\177') ? '?' : ((c) >= 040) ? (c) : (c)|0100) #define toctrl(c) ((c)&~0100) #define ctrl(c) ((c)&037) -#define INDIRECTED (1<<(sizeof(char*)*8-1)) +#define INDIRECTED (((intptr_t)1)<<(sizeof(char*)*8-1)) /* this is actually 0x80000000 on 32 bit machine, that addresses kernel address space */ -#define isIndirect(f) ((u_int)(f)&(u_int)INDIRECTED) -#define setIndirect(f) (FUNC)((u_int)(f)|(u_int)INDIRECTED) -#define maskIndirect(f) (FUNC *)((u_int)(f)&~(u_int)INDIRECTED) +#define isIndirect(f) ((intptr_t)(f)&(intptr_t)INDIRECTED) +#define setIndirect(f) (FUNC)((intptr_t)(f)|(intptr_t)INDIRECTED) +#define maskIndirect(f) (FUNC *)((intptr_t)(f)&~(intptr_t)INDIRECTED) /* * Type of character @@@@ -53,17 +53,17 @@@@ #ifdef KANJI # define CHAR unsigned char # define CHARMASK 0377 -#else KANJI +#else /* KANJI */ # define CHAR char # define CHARMASK 0177 -#endif KANJI +#endif /* KANJI */ /* * Only one machine I know alloca() works is vax. */ #ifdef vax # define ALLOCA -#endif vax +#endif /* vax */ /* * Typedef's @ 1.6 log @Fix patches: $Header$ is a CVS keyword. Remove realloc and malloc prototypes, they conflict with DragonFly's stdlib.h. Add parameter to sigwinch, it should match the local prototype. Fix errno. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.5 2005/12/10 22:10:47 christos Exp $ d5 1 a5 1 @@@@ -6,6 +6,6 @@@@ d8 1 a12 2 #define ON 1 /* on switch */ #define OFF 0 /* off switch */ @ 1.5 log @make it work on 64 bit machines @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 4 @@@@ -3,9 +3,9 @@@@ #ifndef lint # define FEP_DEFS \ "$Header: /home/mmb/utashiro/src/fep/RCS/fep_defs.h,v 4.3 1989/01/06 10:07:29 utashiro Exp $ (SRA)" @ 1.4 log @Make patches apply again; use sed script in pre-build to remove stuff after #endif to avoid RCS problems with patches (hi christos!). @ text @d3 8 a10 4 --- fep_defs.h.orig Mon May 10 07:23:33 1993 +++ fep_defs.h @@@@ -6,5 +6,5 @@@@ #endif lint d16 3 a18 1 @@@@ -32,9 +32,9 @@@@ d30 17 a46 1 @@@@ -54,8 +54,8 @@@@ d57 2 a58 1 @@@@ -64,5 +64,5 @@@@ d65 1 @ 1.3 log @- kill gcc-3 preprocessor warnings about #{else,endif} TAG - exit with the child's exit value and with non zero on error @ text @d3 4 a6 8 --- fep_defs.h.orig 1993-05-10 01:23:33.000000000 -0400 +++ fep_defs.h 2003-11-07 11:14:52.000000000 -0500 @@@@ -3,9 +3,9 @@@@ #ifndef lint # define FEP_DEFS \ "$Header: /home/mmb/utashiro/src/fep/RCS/fep_defs.h,v 4.3 1989/01/06 10:07:29 utashiro Exp $ (SRA)" -#endif lint +#endif /* lint */ d12 1 a12 3 #define OFF 0 /* off switch */ @@@@ -31,11 +31,11 @@@@ # define isctlchar(c) (c && !iskanji(c) && (!(c&0140) || c=='\177')) d24 1 a24 3 #define ctrl(c) ((c)&037) @@@@ -53,17 +53,17 @@@@ #ifdef KANJI d35 1 a35 2 * Only one machine I know alloca() works is vax. */ a41 1 * Typedef's @ 1.2 log @regenerate patch-ad which managed to include a RCS ID from the file being patched. CVS replaced the ID which made the patch fail. @ text @d3 8 a10 4 --- fep_defs.h.orig Mon May 10 01:23:33 1993 +++ fep_defs.h Sun Feb 13 09:17:42 2000 @@@@ -6,5 +6,5 @@@@ #endif lint d16 36 @ 1.1 log @- fix slews of bugs - modernize - use termios @ text @d4 2 a5 3 +++ fep_defs.h Sun Feb 6 21:07:33 2000 @@@@ -5,7 +5,7 @@@@ "$Header: /home/mmb/utashiro/src/fep/RCS/fep_defs.h,v 4.3 1989/01/06 10:07:29 utashiro Exp $ (SRA)" a11 1 #define OFF 0 /* off switch */ @