diff options
author | plunky <plunky@pkgsrc.org> | 2009-08-06 08:24:29 +0000 |
---|---|---|
committer | plunky <plunky@pkgsrc.org> | 2009-08-06 08:24:29 +0000 |
commit | 770ea18daf71cd9e497579f655e61d96cbee8f83 (patch) | |
tree | d68f90e4b3d70c88f50e96a4d57d77ddde905e42 /chat/icb/patches | |
parent | 971009031af68126d1a4d0ad5e2ee7ee2e4a0fba (diff) | |
download | pkgsrc-770ea18daf71cd9e497579f655e61d96cbee8f83.tar.gz |
repair getline(3) conflicts, "getline" -> "get_line"
Diffstat (limited to 'chat/icb/patches')
-rw-r--r-- | chat/icb/patches/patch-al | 25 | ||||
-rw-r--r-- | chat/icb/patches/patch-br | 13 | ||||
-rw-r--r-- | chat/icb/patches/patch-bs | 13 | ||||
-rw-r--r-- | chat/icb/patches/patch-bt | 13 |
4 files changed, 56 insertions, 8 deletions
diff --git a/chat/icb/patches/patch-al b/chat/icb/patches/patch-al index 70a43ccae0c..d081aa8b29b 100644 --- a/chat/icb/patches/patch-al +++ b/chat/icb/patches/patch-al @@ -1,8 +1,17 @@ -$NetBSD: patch-al,v 1.2 2008/12/17 02:19:59 christos Exp $ +$NetBSD: patch-al,v 1.3 2009/08/06 08:24:29 plunky Exp $ ---- 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 @@ +--- icb/protos.h.orig 1995-02-24 21:20:25.000000000 +0000 ++++ icb/protos.h +@@ -49,7 +49,7 @@ 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); +@@ -64,7 +64,7 @@ int importantmsg(char *pkt); int inserttab(void); int ishushed(char *nick); int lcaseit(char *s); @@ -11,7 +20,7 @@ $NetBSD: patch-al,v 1.2 2008/12/17 02:19:59 christos Exp $ int linebuffer(FILE *fp); #else int linebuffer(struct _iobuf *fp); -@@ -78,7 +78,7 @@ +@@ -78,7 +78,7 @@ int mbreakprint(int per, char *from, cha int mprint(int per, char *from, char *s); int numeric(char *txt); int parse(char *s); @@ -20,7 +29,7 @@ $NetBSD: patch-al,v 1.2 2008/12/17 02:19:59 christos Exp $ int printcutetime(void); int printmilitarytime(void); int printnormaltime(void); -@@ -107,7 +107,7 @@ +@@ -107,7 +107,7 @@ int specialchar(register int c, char *s, int split(char *s); int startsessionlog(Tcl_Interp *interp, char *path); int statusmsg(char *pkt); @@ -29,7 +38,7 @@ $NetBSD: patch-al,v 1.2 2008/12/17 02:19:59 christos Exp $ 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 @@ +@@ -115,7 +115,7 @@ 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); @@ -38,7 +47,7 @@ $NetBSD: patch-al,v 1.2 2008/12/17 02:19:59 christos Exp $ int strunlink(STRLIST *s, STRLIST **head, STRLIST **tail); sighandler suspend(); int tclinit(void); -@@ -140,3 +140,4 @@ +@@ -140,3 +140,4 @@ struct server *getserver(void); struct server *getservbyname(char *name); void listservers(void); sighandler icbexit(); diff --git a/chat/icb/patches/patch-br b/chat/icb/patches/patch-br new file mode 100644 index 00000000000..88a1d6fd1b8 --- /dev/null +++ b/chat/icb/patches/patch-br @@ -0,0 +1,13 @@ +$NetBSD: patch-br,v 1.1 2009/08/06 08:24:29 plunky Exp $ + +--- icb/getline.c.orig 2009-08-06 09:17:50.000000000 +0100 ++++ icb/getline.c +@@ -11,7 +11,7 @@ static char *line_read = (char *)NULL; + + extern void echo(); + +-char *getline(prompt, expand) ++char *get_line(prompt, expand) + char *prompt; + int expand; + { diff --git a/chat/icb/patches/patch-bs b/chat/icb/patches/patch-bs new file mode 100644 index 00000000000..52312b4a281 --- /dev/null +++ b/chat/icb/patches/patch-bs @@ -0,0 +1,13 @@ +$NetBSD: patch-bs,v 1.1 2009/08/06 08:24:29 plunky Exp $ + +--- icb/ipcf.c.orig 2009-08-06 09:17:56.000000000 +0100 ++++ icb/ipcf.c +@@ -60,7 +60,7 @@ c_userchar() + static char *s; /* user input string */ + + /* user typed one or more characters - gather a line of input */ +- s=getline(NULL, 1); ++ s=get_line(NULL, 1); + + if (!s) /* EOF */ + { diff --git a/chat/icb/patches/patch-bt b/chat/icb/patches/patch-bt new file mode 100644 index 00000000000..b34d74c5980 --- /dev/null +++ b/chat/icb/patches/patch-bt @@ -0,0 +1,13 @@ +$NetBSD: patch-bt,v 1.1 2009/08/06 08:24:29 plunky Exp $ + +--- icb/s_person.c.orig 2009-08-06 09:20:29.000000000 +0100 ++++ icb/s_person.c +@@ -106,7 +106,7 @@ int echoflag; + { + do + { +- text = getline(">> ",0); ++ text = get_line(">> ",0); + + if (!text || (!*text && !last_command_was_kill)) + { |