summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-03-17 13:47:08 +0000
committerrillig <rillig@pkgsrc.org>2007-03-17 13:47:08 +0000
commit0c607f78dfd56cd5cc98e7dc943b27acffd8313d (patch)
tree4b6cdf08d16697a66c613f5bdd0642100f5fb8d5 /chat
parent931fdc0dc468827c7d0b1b3217ba2c909d3bb49a (diff)
downloadpkgsrc-0c607f78dfd56cd5cc98e7dc943b27acffd8313d.tar.gz
Fixed gcc4 error messages.
Diffstat (limited to 'chat')
-rw-r--r--chat/dircproxy/distinfo5
-rw-r--r--chat/dircproxy/patches/patch-ac15
-rw-r--r--chat/dircproxy/patches/patch-ad24
-rw-r--r--chat/dircproxy/patches/patch-ae15
4 files changed, 58 insertions, 1 deletions
diff --git a/chat/dircproxy/distinfo b/chat/dircproxy/distinfo
index 0d4b58c9cb9..27fa61d9518 100644
--- a/chat/dircproxy/distinfo
+++ b/chat/dircproxy/distinfo
@@ -1,7 +1,10 @@
-$NetBSD: distinfo,v 1.4 2005/03/10 13:31:05 tv Exp $
+$NetBSD: distinfo,v 1.5 2007/03/17 13:47:08 rillig Exp $
SHA1 (dircproxy-1.0.5.tar.gz) = eaf159d2a1303f82e079940b381c0e71b9b90c28
RMD160 (dircproxy-1.0.5.tar.gz) = 8082fbe3c83b9e38eae9a2b48bf244e277b3e63b
Size (dircproxy-1.0.5.tar.gz) = 217965 bytes
SHA1 (patch-aa) = 9c59e9f4c0cfaca7a9e000eab2a8af1b6c16329f
SHA1 (patch-ab) = 4d2cd9dbc972e4f2f7ac20b32dc65e755796d6f0
+SHA1 (patch-ac) = 2f599b0e30c3cc2b3b801546b1df8f8ae1de2c5d
+SHA1 (patch-ad) = 3177586587616f9441110acf59b8751bd8dde5c3
+SHA1 (patch-ae) = 212e7505d26442166ff77a29c9779bed34c2f255
diff --git a/chat/dircproxy/patches/patch-ac b/chat/dircproxy/patches/patch-ac
new file mode 100644
index 00000000000..ed011110081
--- /dev/null
+++ b/chat/dircproxy/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1 2007/03/17 13:47:08 rillig Exp $
+
+The ?: operator returns an rvalue, not an lvalue.
+
+--- src/dcc_net.c.orig 2001-12-21 21:15:55.000000000 +0100
++++ src/dcc_net.c 2007-03-17 14:44:21.000000000 +0100
+@@ -364,7 +364,7 @@ int dccnet_expunge_proxies(void) {
+ n = p->next;
+ _dccnet_free(p);
+
+- p = (l ? l->next : proxies) = n;
++ p = *(l ? &(l->next) : &(proxies)) = n;
+ } else {
+ l = p;
+ p = p->next;
diff --git a/chat/dircproxy/patches/patch-ad b/chat/dircproxy/patches/patch-ad
new file mode 100644
index 00000000000..8c9142f8c6f
--- /dev/null
+++ b/chat/dircproxy/patches/patch-ad
@@ -0,0 +1,24 @@
+$NetBSD: patch-ad,v 1.1 2007/03/17 13:47:08 rillig Exp $
+
+The ?: operator returns an rvalue, not an lvalue.
+
+--- src/irc_server.c.orig 2002-01-31 15:56:37.000000000 +0100
++++ src/irc_server.c 2007-03-17 14:43:55.000000000 +0100
+@@ -700,7 +700,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 {
+@@ -741,7 +741,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 {
diff --git a/chat/dircproxy/patches/patch-ae b/chat/dircproxy/patches/patch-ae
new file mode 100644
index 00000000000..a14bd676074
--- /dev/null
+++ b/chat/dircproxy/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.1 2007/03/17 13:47:08 rillig Exp $
+
+The ?: operator returns an rvalue, not an lvalue.
+
+--- src/net.c.orig 2002-01-01 18:55:23.000000000 +0100
++++ src/net.c 2007-03-17 14:45:03.000000000 +0100
+@@ -459,7 +459,7 @@ static int _net_buffer(struct sockinfo *
+ return 0;
+ }
+
+- l = &(buff == SB_IN ? s->in_buff_last : s->out_buff_last);
++ l = (buff == SB_IN ? &(s->in_buff_last) : &(s->out_buff_last));
+
+ /* Check whether we can just add to the existing buffer */
+ if ((mode == SM_RAW) && *l && ((*l)->mode == mode)) {