Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 311833 Details for
Bug 314473
net-im/jabberd2-2.2.17 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch needed by version 2.2.16 to build without debug
jabberd2-2.2.16-fix-build-without-debug.patch (text/plain), 1.71 KB, created by
Marcin Mirosław
on 2012-05-15 09:10:19 UTC
(
hide
)
Description:
patch needed by version 2.2.16 to build without debug
Filename:
MIME Type:
Creator:
Marcin Mirosław
Created:
2012-05-15 09:10:19 UTC
Size:
1.71 KB
patch
obsolete
>commit 41884d9919f3b00e44809207ec4f8e7658f606a7 >Author: Tomasz Sterna <tomek@xiaoka.com> >Date: Sat May 5 15:56:24 2012 +0200 > > Fixed build with debug disabled > >diff --git a/util/log.c b/util/log.c >index edf3919..06835da 100644 >--- a/util/log.c >+++ b/util/log.c >@@ -223,12 +223,12 @@ void set_debug_flag(int v) > debug_flag = v; > } > >-int set_debug_log_from_config(config_t c) >+void set_debug_log_from_config(config_t c) > { > return set_debug_file(config_get_one(c, "log.debug", 0)); >-}; >+} > >-JABBERD2_API int set_debug_file(const char *filename) >+JABBERD2_API void set_debug_file(const char *filename) > { > // Close debug output file but not stderr > if (debug_log_target != 0 && >@@ -255,7 +255,7 @@ JABBERD2_API int set_debug_file(const char *filename) > // set stderr > debug_log_target = stderr; > } >-}; >+} > > #else /* DEBUG */ > void debug_log(const char *file, int line, const char *msgfmt, ...) >@@ -263,4 +263,7 @@ void debug_log(const char *file, int line, const char *msgfmt, ...) > > void set_debug_flag(int v) > { } >+ >+void set_debug_log_from_config(config_t c) >+{ } > #endif >diff --git a/util/util.h b/util/util.h >index 7d3a9da..802e25c 100644 >--- a/util/util.h >+++ b/util/util.h >@@ -414,9 +414,9 @@ JABBERD2_API int hex_to_raw(char *in, int inlen, char *out); > JABBERD2_API int get_debug_flag(void); > JABBERD2_API void set_debug_flag(int v); > JABBERD2_API void debug_log(const char *file, int line, const char *msgfmt, ...); >-JABBERD2_API int set_debug_file(const char *filename); >+JABBERD2_API void set_debug_file(const char *filename); > >-JABBERD2_API int set_debug_log_from_config(config_t c); >+JABBERD2_API void set_debug_log_from_config(config_t c); > > #define ZONE __FILE__,__LINE__ > #define MAX_DEBUG 8192
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 314473
:
227217
|
260835
|
267507
|
267509
|
267511
|
269483
|
279767
|
279777
|
280283
|
286421
|
288599
|
289339
|
289341
|
311831
|
311833
|
312185
|
322412
|
322507
|
330825
|
331398
|
331400
|
332788
|
332790
|
332792
|
350230
|
350366
|
350368
|
358958
|
358960