aboutsummaryrefslogtreecommitdiffstats
path: root/irc/bitchx
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2007-01-22 19:21:09 +0800
committerarved <arved@FreeBSD.org>2007-01-22 19:21:09 +0800
commit2b3673045b9b70631f9042c5217536e731511347 (patch)
treec92e5bd31d245f0b26ece6816845f5a915b3d339 /irc/bitchx
parent778e5dbd023dd3b433be7f2a210d6b1414709366 (diff)
downloadfreebsd-ports-gnome-2b3673045b9b70631f9042c5217536e731511347.tar.gz
freebsd-ports-gnome-2b3673045b9b70631f9042c5217536e731511347.tar.zst
freebsd-ports-gnome-2b3673045b9b70631f9042c5217536e731511347.zip
Fix build with gcc41
PR: 106910 Approved by: maintainer timeout (1 month)
Diffstat (limited to 'irc/bitchx')
-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;