jabberd/jabberd.patch

changeset 768
70baf26f1088
parent 693
165d980aa5f1
     1.1 --- a/jabberd/jabberd.patch	Tue Apr 02 20:44:50 2013 +0200
     1.2 +++ b/jabberd/jabberd.patch	Sun Jun 30 18:44:10 2013 +0200
     1.3 @@ -204,3 +204,33 @@
     1.4   
     1.5   #include <expat.h>
     1.6   
     1.7 +diff -Nau mu-conference-0.8.81/src/main.c.orig mu-conference-0.8.81/src/main.c
     1.8 +Index: mu-conference-0.8.81/src/main.c
     1.9 +--- mu-conference-0.8.81/src/main.c.orig	2013-07-01 00:12:58.147291969 +0200
    1.10 ++++ mu-conference-0.8.81/src/main.c	2013-06-30 23:15:28.653657696 +0200
    1.11 +@@ -51,7 +51,7 @@
    1.12 + 
    1.13 +   jcr = (jcr_instance)calloc(1, sizeof(_jcr_instance));
    1.14 + 
    1.15 +-  g_thread_init(NULL);
    1.16 ++  g_thread_init_glib(NULL);
    1.17 +   fprintf(stderr, "%s -- %s\n%s\n\n", _JCOMP_NAME, _JCOMP_VERS, _JCOMP_COPY);
    1.18 + 
    1.19 +   while ((c = getopt(argc, argv, "Bshd:c:")) != EOF)
    1.20 +diff -Nau mu-conference-0.8.81/src/jcomp/jcr_deliver.c.orig mu-conference-0.8.81/src/jcomp/jcr_deliver.c
    1.21 +Index: mu-conference-0.8.81/src/jcomp/jcr_deliver.c
    1.22 +--- mu-conference-0.8.81/src/jcomp/jcr_deliver.c.orig	2013-06-14 21:42:45.000000000 +0200
    1.23 ++++ mu-conference-0.8.81/src/jcomp/jcr_deliver.c	2013-07-01 03:13:46.888580626 +0200
    1.24 +@@ -33,11 +33,11 @@
    1.25 +     sleep(1);
    1.26 +   }
    1.27 + 
    1.28 +-  g_async_queue_push(jcr->dqueue, d);
    1.29 +   log_debug(JDBG, "queued %lu bytes now %lu msgs : >>> %s <<<",
    1.30 + 	    strlen(xmlnode2str(d->x)),
    1.31 + 	    g_async_queue_length(jcr->dqueue),
    1.32 + 	    xmlnode2str(d->x));
    1.33 ++  g_async_queue_push(jcr->dqueue, d);
    1.34 + }
    1.35 + 
    1.36 + void jcr_queue_deliver(void *a) {

mercurial