summaryrefslogtreecommitdiff
path: root/chat/icb/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'chat/icb/patches/patch-ah')
-rw-r--r--chat/icb/patches/patch-ah39
1 files changed, 35 insertions, 4 deletions
diff --git a/chat/icb/patches/patch-ah b/chat/icb/patches/patch-ah
index d4389180b89..07ab040b197 100644
--- a/chat/icb/patches/patch-ah
+++ b/chat/icb/patches/patch-ah
@@ -1,8 +1,7 @@
-$NetBSD: patch-ah,v 1.1.1.1 2000/12/15 00:36:38 wiz Exp $
+$NetBSD: patch-ah,v 1.2 2006/05/15 15:33:00 christos Exp $
-diff -x *.orig -urN ./icb/protos.h /usr/pkgsrc/net/icb/work.i386.unpatched/icb-5.0.9/icb/protos.h
---- ./icb/protos.h Fri Feb 24 22:20:25 1995
-+++ /usr/pkgsrc/net/icb/work.i386.unpatched/icb-5.0.9/icb/protos.h Fri Nov 26 22:56:28 1999
+--- icb/protos.h.orig 1995-02-24 16:20:25.000000000 -0500
++++ icb/protos.h 2006-05-15 11:19:21.000000000 -0400
@@ -64,7 +64,7 @@
int inserttab(void);
int ishushed(char *nick);
@@ -12,3 +11,35 @@ diff -x *.orig -urN ./icb/protos.h /usr/pkgsrc/net/icb/work.i386.unpatched/icb-5
int linebuffer(FILE *fp);
#else
int linebuffer(struct _iobuf *fp);
+@@ -78,7 +78,7 @@
+ 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);
++int pauseprompt(char *prompt, int erase, int c, int unget, char *except);
+ int printcutetime(void);
+ int printmilitarytime(void);
+ int printnormaltime(void);
+@@ -107,7 +107,7 @@
+ int split(char *s);
+ int startsessionlog(Tcl_Interp *interp, char *path);
+ int statusmsg(char *pkt);
+-int strcasecmp(char *s1, char *s2);
++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,7 +115,7 @@
+ 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);
+@@ -140,3 +140,4 @@
+ struct server *getservbyname(char *name);
+ void listservers(void);
+ sighandler icbexit();
++char *basename(char *);