Port BitchX to -ng, fix compilation by adding correct CFLAGS
[openwrt/svn-archive/archive.git] / net / bitchx / patches / BitchX-fix_declarations.patch
1 diff -urN BitchX/include/ctcp.h BitchX.new/include/ctcp.h
2 --- BitchX/include/ctcp.h 2003-04-11 03:09:07.000000000 +0200
3 +++ BitchX.new/include/ctcp.h 2006-03-29 13:19:21.170693168 +0200
4 @@ -56,7 +56,7 @@
5 extern CtcpEntryDll *dll_ctcp;
6
7
8 -extern char *ctcp_type[];
9 +//extern char *ctcp_type[]; /* already declared in ctcp.c
10 extern int sed;
11 extern int in_ctcp_flag;
12
13 diff -urN BitchX/include/struct.h BitchX.new/include/struct.h
14 --- BitchX/include/struct.h 2003-04-11 03:09:07.000000000 +0200
15 +++ BitchX.new/include/struct.h 2006-03-29 13:19:26.653859600 +0200
16 @@ -1064,7 +1064,7 @@
17 int delete;
18 } TimerList;
19
20 -extern TimerList *PendingTimers;
21 +//extern TimerList *PendingTimers;
22 typedef struct nicktab_stru
23 {
24 struct nicktab_stru *next;