aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2007-01-22 11:21:09 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2007-01-22 11:21:09 +0000
commit71df0ef1b2812d20eb7edd8c43f73fe859400a81 (patch)
tree3f1c6752ea51127412017f197900bb751d1a0de7 /irc
parentf9a5f50eaf8117e9a6d27def563e4b4e87d29f11 (diff)
downloadports-71df0ef1b2812d20eb7edd8c43f73fe859400a81.tar.gz
ports-71df0ef1b2812d20eb7edd8c43f73fe859400a81.zip
Fix build with gcc41
PR: 106910 Approved by: maintainer timeout (1 month)
Notes
Notes: svn path=/head/; revision=182973
Diffstat (limited to 'irc')
-rw-r--r--irc/bitchx/files/patch-source-ctcp.c11
-rw-r--r--irc/bitchx/files/patch-source-timer.c11
2 files changed, 22 insertions, 0 deletions
diff --git a/irc/bitchx/files/patch-source-ctcp.c b/irc/bitchx/files/patch-source-ctcp.c
new file mode 100644
index 000000000000..473f5da18cf2
--- /dev/null
+++ b/irc/bitchx/files/patch-source-ctcp.c
@@ -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"
diff --git a/irc/bitchx/files/patch-source-timer.c b/irc/bitchx/files/patch-source-timer.c
new file mode 100644
index 000000000000..1e81800db11d
--- /dev/null
+++ b/irc/bitchx/files/patch-source-timer.c
@@ -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;