summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authoradam <adam>2010-04-15 07:02:51 +0000
committeradam <adam>2010-04-15 07:02:51 +0000
commit716da3d9eb159d2df93022f869d7c5f4d0f5b90e (patch)
tree76dc0258cc1ebda2635df1fcf4ac439b0273ad07 /chat
parentf8160a364887798ee27c8c37473e5d1483f8c61d (diff)
downloadpkgsrc-716da3d9eb159d2df93022f869d7c5f4d0f5b90e.tar.gz
Oops! Forgot to add the patches
Diffstat (limited to 'chat')
-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);