Fix the build with glib-2.6.
This commit is contained in:
parent
8bcced48eb
commit
527e88b589
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131147
2 changed files with 30 additions and 0 deletions
15
net-im/meanwhile/files/patch-src_mw_debug.h
Normal file
15
net-im/meanwhile/files/patch-src_mw_debug.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
--- src/mw_debug.h.orig Sun Mar 13 19:52:16 2005
|
||||
+++ src/mw_debug.h Sun Mar 13 19:52:51 2005
|
||||
@@ -9,8 +9,12 @@
|
||||
#define NSTR(str) ((str != NULL)? str: "(null)")
|
||||
|
||||
|
||||
+#ifndef g_debug
|
||||
#define g_debug(format...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, format)
|
||||
+#endif
|
||||
+#ifndef g_info
|
||||
#define g_info(format...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format)
|
||||
+#endif
|
||||
|
||||
|
||||
/**
|
15
net/meanwhile/files/patch-src_mw_debug.h
Normal file
15
net/meanwhile/files/patch-src_mw_debug.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
--- src/mw_debug.h.orig Sun Mar 13 19:52:16 2005
|
||||
+++ src/mw_debug.h Sun Mar 13 19:52:51 2005
|
||||
@@ -9,8 +9,12 @@
|
||||
#define NSTR(str) ((str != NULL)? str: "(null)")
|
||||
|
||||
|
||||
+#ifndef g_debug
|
||||
#define g_debug(format...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, format)
|
||||
+#endif
|
||||
+#ifndef g_info
|
||||
#define g_info(format...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format)
|
||||
+#endif
|
||||
|
||||
|
||||
/**
|
Loading…
Reference in a new issue