diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-08-14 14:47:28 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-08-14 14:47:51 +0000 |
commit | 5b217ffc21a3a78f24a6b491717ac95b0a1929ab (patch) | |
tree | 5ea53a2562c6547770cf502b7d4b585599df441a /main/dircproxy/dircproxy-gcc4.patch | |
parent | 358c1f6ef7d9d2bd879594e9bef73ca3f69bf05c (diff) | |
download | aports-5b217ffc21a3a78f24a6b491717ac95b0a1929ab.tar.bz2 aports-5b217ffc21a3a78f24a6b491717ac95b0a1929ab.tar.xz |
main/dircproxy: upgrade to 1.2.0_rc1
Diffstat (limited to 'main/dircproxy/dircproxy-gcc4.patch')
-rw-r--r-- | main/dircproxy/dircproxy-gcc4.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/main/dircproxy/dircproxy-gcc4.patch b/main/dircproxy/dircproxy-gcc4.patch deleted file mode 100644 index 727d8db2b..000000000 --- a/main/dircproxy/dircproxy-gcc4.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- a/src/dcc_net.c 2001-12-21 21:15:55.000000000 +0100 -+++ b/src/dcc_net.c 2004-12-14 15:40:45.976549384 +0100 -@@ -364,7 +364,8 @@ - n = p->next; - _dccnet_free(p); - -- p = (l ? l->next : proxies) = n; -+ if (l) l->next = n; else proxies = n; -+ p = n; - } else { - l = p; - p = p->next; -diff -urN a/src/irc_server.c ./src/irc_server.c ---- a/src/irc_server.c 2002-01-31 15:56:37.000000000 +0100 -+++ b/src/irc_server.c 2004-12-14 15:39:49.163186328 +0100 -@@ -700,7 +700,8 @@ - free(s); - - /* Was in the squelch list, so remove it and stop looking */ -- s = (l ? l->next : p->squelch_modes) = n; -+ if (l) l->next = n; else p->squelch_modes = n; -+ s = n; - squelch = 1; - break; - } else { -@@ -741,7 +742,8 @@ - free(s); - - /* Was in the squelch list, so remove it and stop looking */ -- s = (l ? l->next : p->squelch_modes) = n; -+ if (l) l->next = n; else p->squelch_modes = n; -+ s = n; - squelch = 1; - break; - } else { -diff -urN ../tmp-orig/dircproxy-1.0.5/src/net.c ./src/net.c ---- a/src/net.c 2002-01-01 18:55:23.000000000 +0100 -+++ b/src/net.c 2004-12-14 15:41:43.499804520 +0100 -@@ -459,7 +459,7 @@ - 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)) { |