head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.106 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.104 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.102 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.100 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.98 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.96 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.94 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.92 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.90 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.88 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.86 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.84 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.82 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.80 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.78 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.76 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.74 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.72 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.70 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.68 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.66 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.64 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.62 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.58 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.38 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.60 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.56 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.54 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.52 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.50 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.48 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.46 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.44 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.42 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.40 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.36 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.34 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.32 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.30 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.28 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.26 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.24 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.22 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.20 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.18 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.16 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.14 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.12 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.10 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.8 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.6 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.4 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.2 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.4.0.8 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.6 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.4 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.2 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.3.0.20 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.18 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.16 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.14 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.12 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.10 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.8 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.6 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.4 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.2 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.2.0.6 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.4 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.2 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.1.1.1.0.52 pkgsrc-2008Q3-base:1.1.1.1 cube-native-xorg:1.1.1.1.0.50 cube-native-xorg-base:1.1.1.1 pkgsrc-2008Q2:1.1.1.1.0.48 pkgsrc-2008Q2-base:1.1.1.1 cwrapper:1.1.1.1.0.46 pkgsrc-2008Q1:1.1.1.1.0.44 pkgsrc-2008Q1-base:1.1.1.1 pkgsrc-2007Q4:1.1.1.1.0.42 pkgsrc-2007Q4-base:1.1.1.1 pkgsrc-2007Q3:1.1.1.1.0.40 pkgsrc-2007Q3-base:1.1.1.1 pkgsrc-2007Q2:1.1.1.1.0.38 pkgsrc-2007Q2-base:1.1.1.1 pkgsrc-2007Q1:1.1.1.1.0.36 pkgsrc-2007Q1-base:1.1.1.1 pkgsrc-2006Q4:1.1.1.1.0.34 pkgsrc-2006Q4-base:1.1.1.1 pkgsrc-2006Q3:1.1.1.1.0.32 pkgsrc-2006Q3-base:1.1.1.1 pkgsrc-2006Q2:1.1.1.1.0.30 pkgsrc-2006Q2-base:1.1.1.1 pkgsrc-2006Q1:1.1.1.1.0.28 pkgsrc-2006Q1-base:1.1.1.1 pkgsrc-2005Q4:1.1.1.1.0.26 pkgsrc-2005Q4-base:1.1.1.1 pkgsrc-2005Q3:1.1.1.1.0.24 pkgsrc-2005Q3-base:1.1.1.1 pkgsrc-2005Q2:1.1.1.1.0.22 pkgsrc-2005Q2-base:1.1.1.1 pkgsrc-2005Q1:1.1.1.1.0.20 pkgsrc-2005Q1-base:1.1.1.1 pkgsrc-2004Q4:1.1.1.1.0.18 pkgsrc-2004Q4-base:1.1.1.1 pkgsrc-2004Q3:1.1.1.1.0.16 pkgsrc-2004Q3-base:1.1.1.1 pkgsrc-2004Q2:1.1.1.1.0.14 pkgsrc-2004Q2-base:1.1.1.1 pkgsrc-2004Q1:1.1.1.1.0.12 pkgsrc-2004Q1-base:1.1.1.1 pkgsrc-2003Q4:1.1.1.1.0.10 pkgsrc-2003Q4-base:1.1.1.1 netbsd-1-6-1:1.1.1.1.0.6 netbsd-1-6-1-base:1.1.1.1 netbsd-1-6:1.1.1.1.0.8 netbsd-1-6-RELEASE-base:1.1.1.1 pkgviews:1.1.1.1.0.4 pkgviews-base:1.1.1.1 buildlink2:1.1.1.1.0.2 buildlink2-base:1.1.1.1 netbsd-1-5-PATCH003:1.1.1.1 netbsd-1-5-PATCH001:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2013.01.11.13.24.32; author joerg; state Exp; branches; next 1.4; 1.4 date 2012.02.16.14.13.15; author hans; state Exp; branches; next 1.3; 1.3 date 2009.08.06.08.24.29; author plunky; state Exp; branches; next 1.2; 1.2 date 2008.12.17.02.19.59; author christos; state Exp; branches; next 1.1; 1.1 date 2000.12.15.00.36.38; author wiz; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.12.15.00.36.38; author wiz; state Exp; branches; next ; desc @@ 1.5 log @Fix build with clang by using more void and proper return values. @ text @$NetBSD: patch-al,v 1.4 2012/02/16 14:13:15 hans Exp $ --- icb/protos.h.orig 1995-02-24 21:20:25.000000000 +0000 +++ icb/protos.h @@@@ -19,7 +19,7 @@@@ char *strscat(int va_alist,...); char *tildexpand(char *s); int addusage(char *name, int type, char *args, char *usage); sighandler askquit(); -int beep(char *pkt); +void beep(char *pkt); int bufferadd(char *text); int bufferlist(int lines); int c_help(char *clientData, Tcl_Interp *interp, int argc, char *argv[]); @@@@ -34,10 +34,10 @@@@ int c_usage(char *clientData, Tcl_Interp char *catargs(char **argv); int cimatch(char *s1, char *s2); int clearargs(int argc, char *argv[]); -int closesessionlog(void); +void closesessionlog(void); int cmdoutmsg(char *pkt); -int copenmsg(char *pkt); -int cpersonalmsg(char *pkt); +void copenmsg(char *pkt); +void cpersonalmsg(char *pkt); int csendopen(char *txt); int deleteusage(char *name); int dispatch(char *pkt); @@@@ -49,22 +49,23 @@@@ int filtertext(char *s); int fnexit(void); int fnterm(void); int oset(char *clientData, Tcl_Interp *interp, int argc, char *argv[]); -char *getline(char *prompt, int expand); +char *get_line(char *prompt, int expand); int getterm(void); int getwinsize(void); int gunlink(USAGE *u, USAGE **first, USAGE **last); int helpme(char *subject); int helptoc(void); int histcount(void); -int histput(char *nick); +void histput(char *nick); int hushadd(Tcl_Interp *interp, char *nick); int hushdelete(Tcl_Interp *interp, char *nick); -int hushlist(void); -int importantmsg(char *pkt); +void hushlist(void); +void importantmsg(char *pkt); +void icbterm(void); int inserttab(void); int ishushed(char *nick); int lcaseit(char *s); -#ifdef linux +#if defined(linux) || (defined(BSD) && BSD >= 199306) || defined(__sun) int linebuffer(FILE *fp); #else int linebuffer(struct _iobuf *fp); @@@@ -77,18 +78,18 @@@@ int main(int argc, char **argv); int mbreakprint(int per, char *from, char *s); int mprint(int per, char *from, char *s); int numeric(char *txt); -int parse(char *s); -int pauseprompt(char *prompt, int erase, int c, int unget, int except); +void parse(char *s); +int pauseprompt(char *prompt, int erase, int c, int unget, char *except); int printcutetime(void); int printmilitarytime(void); int printnormaltime(void); int printvar(char *name, int type, char *address); -int protomsg(char *pkt); +void protomsg(char *pkt); int pushback(int c); int putl(char *s, int flags); int quoteify(char *a, char *b); -int restoreterm(void); -int restrict(void); +void restoreterm(void); +int restricted(void); int s_admin(char *clientData, Tcl_Interp *interp, int argc, char *argv[]); int s_beep(char *clientData, Tcl_Interp *interp, int argc, char *argv[]); int s_group(char *clientData, Tcl_Interp *interp, int argc, char *argv[]); @@@@ -100,14 +101,14 @@@@ int s_who(char *clientData, Tcl_Interp * int saysomething(void); int sendcmd(char *cmd, char *args); int sendlogin(char *id, char *nick, char *group, char *command, char *passwd); -int sendpersonal(char *nick, char *text, int echoflag); +void sendpersonal(char *nick, char *text, int echoflag); int sendpong(void); int setvar(Tcl_Interp *interp, int type, char *address, char *s); int specialchar(register int c, char *s, char *prompt, int expand); int split(char *s); int startsessionlog(Tcl_Interp *interp, char *path); -int statusmsg(char *pkt); -int strcasecmp(char *s1, char *s2); +void statusmsg(char *pkt); +int strcasecmp(const char *s1, const char *s2); int strcicmp(char *s1, char *s2); int strcincmp(char *s1, char *s2, int n); int strlinkafter(STRLIST *s, STRLIST *i, STRLIST **head, STRLIST **tail); @@@@ -115,11 +116,11 @@@@ int strlinkalpha(STRLIST *s, STRLIST **h int strlinkbefore(STRLIST *s, STRLIST *i, STRLIST **head, STRLIST **tail); int strlinkhead(STRLIST *s, STRLIST **head, STRLIST **tail); int strlinktail(STRLIST *s, STRLIST **head, STRLIST **tail); -int strncasecmp(char *s1, char *s2, register int n); +int strncasecmp(const char *s1, const char *s2, size_t n); int strunlink(STRLIST *s, STRLIST **head, STRLIST **tail); sighandler suspend(); int tclinit(void); -int tclreadicbrc(void); +void tclreadicbrc(void); int tclrestrict(void); int trapsignals(void); int uline(USAGE *u); @@@@ -140,3 +141,4 @@@@ struct server *getserver(void); struct server *getservbyname(char *name); void listservers(void); sighandler icbexit(); +char *basename(char *); @ 1.4 log @Fix build on SunOS. @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.3 2009/08/06 08:24:29 plunky Exp $ d5 24 a28 1 @@@@ -49,7 +49,7 @@@@ int filtertext(char *s); d37 12 a48 1 @@@@ -64,7 +64,7 @@@@ int importantmsg(char *pkt); d57 2 a58 1 @@@@ -78,7 +78,7 @@@@ int mbreakprint(int per, char *from, cha d61 1 a61 1 int parse(char *s); d63 1 d68 22 a89 1 @@@@ -107,7 +107,7 @@@@ int specialchar(register int c, char *s, d92 1 a92 1 int statusmsg(char *pkt); d94 1 d99 1 a99 1 @@@@ -115,7 +115,7 @@@@ int strlinkalpha(STRLIST *s, STRLIST **h d108 6 a113 1 @@@@ -140,3 +140,4 @@@@ struct server *getserver(void); @ 1.3 log @repair getline(3) conflicts, "getline" -> "get_line" @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.2 2008/12/17 02:19:59 christos Exp $ d19 1 a19 1 +#if defined(linux) || (defined(BSD) && BSD >= 199306) @ 1.2 log @make this work on 64 bit platforms: - fix warnings for missing prototypes - use termios instead of sgtty (why doesn't this work on amd64?) @ text @d1 1 a1 1 $NetBSD$ d3 12 a14 3 --- icb/protos.h.orig 1995-02-24 16:20:25.000000000 -0500 +++ icb/protos.h 2008-12-16 20:18:00.000000000 -0500 @@@@ -64,7 +64,7 @@@@ d23 1 a23 1 @@@@ -78,7 +78,7 @@@@ d32 1 a32 1 @@@@ -107,7 +107,7 @@@@ d41 1 a41 1 @@@@ -115,7 +115,7 @@@@ d50 1 a50 1 @@@@ -140,3 +140,4 @@@@ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.2 1999/11/26 22:12:38 hubertf Exp $ d3 9 a11 11 diff -x *.orig -urN ./murgil/getrname.c /usr/pkgsrc/net/icb/work.i386.unpatched/icb-5.0.9/murgil/getrname.c --- ./murgil/getrname.c Fri Feb 24 22:19:41 1995 +++ /usr/pkgsrc/net/icb/work.i386.unpatched/icb-5.0.9/murgil/getrname.c Fri Nov 26 22:56:29 1999 @@@@ -14,7 +14,7 @@@@ { static char rname[24]; struct hostent *host; -#if defined(linux) +#if defined(linux) || defined(__NetBSD__) #define PEER_CAST (struct sockaddr *) #define HOST_CAST (char *) d13 33 @ 1.1.1.1 log @Create new 'chat' category, featuring chat clients and servers of all kinds. Move some packages from 'net' here. @ text @@