1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
diff -aur jabberd14-1.6.1.1-orig/jabberd/jabberd.cc jabberd14-1.6.1.1/jabberd/jabberd.cc
--- jabberd14-1.6.1.1-orig/jabberd/jabberd.cc 2007-04-07 15:43:18.000000000 -0400
+++ jabberd14-1.6.1.1/jabberd/jabberd.cc 2008-06-19 08:48:00.000000000 -0400
@@ -51,7 +51,6 @@
#include <popt.h>
-xht debug__zones = NULL; /**< the debugging zones, that are enabled (key = zone string, value = zone string) */
extern int deliver__flag;
extern xmlnode greymatter__;
diff -aur jabberd14-1.6.1.1-orig/jabberd/jabberd.h jabberd14-1.6.1.1/jabberd/jabberd.h
--- jabberd14-1.6.1.1-orig/jabberd/jabberd.h 2007-07-20 09:51:08.000000000 -0400
+++ jabberd14-1.6.1.1/jabberd/jabberd.h 2008-06-19 08:48:08.000000000 -0400
@@ -109,6 +109,8 @@
# include <gnutls/openpgp.h>
#endif
+static xht debug__zones = NULL; /**< the debugging zones, that are enabled (key = zone string, value = zone string) */
+
/** Packet types */
typedef enum { p_NONE, p_NORM, p_XDB, p_LOG, p_ROUTE } ptype;
--- jabberd14-1.6.1.1-orig/xdb_file/xdbfiletool.cc 2007-07-21 18:36:29.000000000 -0400
+++ jabberd14-1.6.1.1/xdb_file/xdbfiletool.cc 2008-06-19 11:56:33.000000000 -0400
@@ -37,7 +37,7 @@
* we have to remove these globals (or at least move them
* inside the library
*/
-xht debug__zones;
+extern xht debug__zones;
/* end of hack */
|