summaryrefslogtreecommitdiff
path: root/recipes/dircproxy
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/dircproxy
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/dircproxy')
-rw-r--r--recipes/dircproxy/dircproxy_1.1.0.bb10
-rw-r--r--recipes/dircproxy/files/dircproxy.patch46
2 files changed, 56 insertions, 0 deletions
diff --git a/recipes/dircproxy/dircproxy_1.1.0.bb b/recipes/dircproxy/dircproxy_1.1.0.bb
new file mode 100644
index 0000000000..59e4a33498
--- /dev/null
+++ b/recipes/dircproxy/dircproxy_1.1.0.bb
@@ -0,0 +1,10 @@
+DESCRIPTION = "IRC proxy server"
+HOMEPAGE = "http://dircproxy.securiweb.net/"
+LICENSE = "GPLv2"
+PR = "r1"
+
+SRC_URI = "http://dircproxy.securiweb.net/pub/1.1/dircproxy-${PV}.tar.gz\
+ file://dircproxy.patch;patch=1"
+
+inherit autotools
+
diff --git a/recipes/dircproxy/files/dircproxy.patch b/recipes/dircproxy/files/dircproxy.patch
new file mode 100644
index 0000000000..3f03ff28fa
--- /dev/null
+++ b/recipes/dircproxy/files/dircproxy.patch
@@ -0,0 +1,46 @@
+diff -Naur dircproxy-1.1.0.orig/src/irc_server.c dircproxy-1.1.0/src/irc_server.c
+--- dircproxy-1.1.0.orig/src/irc_server.c 2006-10-29 11:16:22.000000000 -0500
++++ dircproxy-1.1.0/src/irc_server.c 2006-10-29 11:20:42.000000000 -0500
+@@ -699,7 +699,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 {
+@@ -740,7 +741,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 {
+--- dircproxy-1.1.0-orig/src/dcc_net.c 2006-10-29 23:39:17.000000000 -0500
++++ dircproxy-1.1.0/src/dcc_net.c 2006-10-29 23:42:27.000000000 -0500
+@@ -365,7 +365,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;
+--- dircproxy-1.1.0-orig/src/net.c 2006-10-29 23:52:04.000000000 -0500
++++ dircproxy-1.1.0/src/net.c 2006-10-29 23:52:23.000000000 -0500
+@@ -459,7 +459,7 @@
+ return 0;
+ }
+
+- l = &(buff == SB_IN ? s->in_buff_last : s->out_buff_last);
++ if (buff == SB_IN) l = &(s->in_buff_last); else l = &(s->out_buff_last);
+
+ /* Check whether we can just add to the existing buffer */
+ if ((mode == SM_RAW) && *l && ((*l)->mode == mode)) {