Fix build with gcc41
PR: 106910 Approved by: maintainer timeout (1 month)
This commit is contained in:
parent
f9a5f50eaf
commit
71df0ef1b2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182973
2 changed files with 22 additions and 0 deletions
11
irc/bitchx/files/patch-source-ctcp.c
Normal file
11
irc/bitchx/files/patch-source-ctcp.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- source/ctcp.c.orig Mon Dec 18 22:26:09 2006
|
||||
+++ source/ctcp.c Mon Dec 18 22:26:24 2006
|
||||
@@ -176,7 +176,7 @@
|
||||
|
||||
/* CDE do ops and unban logging */
|
||||
|
||||
-static char *ctcp_type[] =
|
||||
+char *ctcp_type[] =
|
||||
{
|
||||
"PRIVMSG",
|
||||
"NOTICE"
|
11
irc/bitchx/files/patch-source-timer.c
Normal file
11
irc/bitchx/files/patch-source-timer.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- source/timer.c.orig Mon Dec 18 22:29:15 2006
|
||||
+++ source/timer.c Mon Dec 18 22:29:30 2006
|
||||
@@ -148,7 +148,7 @@
|
||||
* This is put here on purpose -- we dont want any of the above functions
|
||||
* to have any knowledge of this struct.
|
||||
*/
|
||||
-static TimerList *PendingTimers;
|
||||
+TimerList *PendingTimers;
|
||||
static char *schedule_timer (TimerList *ntimer);
|
||||
|
||||
static char *current_exec_timer = empty_string;
|
Loading…
Reference in a new issue