summaryrefslogtreecommitdiff
path: root/chat/jabberd2
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2010-04-15 07:02:51 +0000
committeradam <adam@pkgsrc.org>2010-04-15 07:02:51 +0000
commitfb1a51b76e1e5a3c70c77394d93ab9bd48d3770b (patch)
tree76dc0258cc1ebda2635df1fcf4ac439b0273ad07 /chat/jabberd2
parent759be9b10a45b38345fc152ec4f4b246f3a52a64 (diff)
downloadpkgsrc-fb1a51b76e1e5a3c70c77394d93ab9bd48d3770b.tar.gz
Oops! Forgot to add the patches
Diffstat (limited to 'chat/jabberd2')
-rw-r--r--chat/jabberd2/patches/patch-af13
-rw-r--r--chat/jabberd2/patches/patch-ah12
2 files changed, 25 insertions, 0 deletions
diff --git a/chat/jabberd2/patches/patch-af b/chat/jabberd2/patches/patch-af
new file mode 100644
index 00000000000..98bf7da1c66
--- /dev/null
+++ b/chat/jabberd2/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.5 2010/04/15 07:02:51 adam Exp $
+
+--- configure.orig 2010-02-22 07:15:14.000000000 +0000
++++ configure
+@@ -11394,7 +11394,7 @@ fi
+ # check for optimisation level
+ { $as_echo "$as_me:$LINENO: checking CFLAGS optimization level" >&5
+ $as_echo_n "checking CFLAGS optimization level... " >&6; }
+-if echo $CFLAGS | grep '.*-O[3s].*' >/dev/null 2>&1; then
++if echo $CFLAGS | grep '.*-O[3].*' >/dev/null 2>&1; then
+ { { $as_echo "$as_me:$LINENO: error: maximum allowed optimization level is -O2" >&5
+ $as_echo "$as_me: error: maximum allowed optimization level is -O2" >&2;}
+ { (exit 1); exit 1; }; }
diff --git a/chat/jabberd2/patches/patch-ah b/chat/jabberd2/patches/patch-ah
new file mode 100644
index 00000000000..3280210977a
--- /dev/null
+++ b/chat/jabberd2/patches/patch-ah
@@ -0,0 +1,12 @@
+$NetBSD: patch-ah,v 1.5 2010/04/15 07:02:51 adam Exp $
+
+--- router/main.c.orig 2010-02-24 08:41:41.000000000 +0000
++++ router/main.c
+@@ -479,6 +479,7 @@ JABBER_MAIN("jabberd2router", "Jabber 2
+ do {
+ xhash_iter_get(r->components, NULL, xhv.val);
+ sx_close(comp->s);
++ mio_run(r->mio, 5);
+ } while(xhash_count(r->components) > 0);
+
+ xhash_free(r->components);