summaryrefslogtreecommitdiff
path: root/chat/dircproxy-devel/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'chat/dircproxy-devel/patches/patch-ac')
-rw-r--r--chat/dircproxy-devel/patches/patch-ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/chat/dircproxy-devel/patches/patch-ac b/chat/dircproxy-devel/patches/patch-ac
new file mode 100644
index 00000000000..2798eed3967
--- /dev/null
+++ b/chat/dircproxy-devel/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1 2005/07/30 21:18:33 rillig Exp $
+
+Conditional lvalues aren't portable enough for IRIX 6.5.
+
+--- src/irc_server.c.orig Sat Aug 17 23:48:03 2002
++++ src/irc_server.c Sat Jul 30 23:14:18 2005
+@@ -699,7 +699,7 @@ static int _ircserver_gotmsg(struct ircp
+ free(s);
+
+ /* Was in the squelch list, so remove it and stop looking */
+- s = (l ? l->next : p->squelch_modes) = n;
++ s = *(l ? &(l->next) : &(p->squelch_modes)) = n;
+ squelch = 1;
+ break;
+ } else {