void-packages/srcpkgs/gnac/patches/fix-debug-log.patch
2021-12-01 17:12:57 +07:00

29 lines
1.3 KiB
Diff

--- a/libgnac/libgnac-debug.h
+++ b/libgnac/libgnac-debug.h
@@ -32,7 +32,7 @@
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define libgnac_debug(...) \
- libgnac_debug_real (__func__, __FILE__, __LINE__, TRUE, __VA_ARGS__)
+ libgnac_debug_real (__func__, __FILE__, __LINE__, __VA_ARGS__)
#elif defined(__GNUC__) && __GNUC__ >= 3
#define libgnac_debug(...) \
libgnac_debug_real (__FUNCTION__, __FILE__, __LINE__, __VA_ARGS__)
@@ -42,7 +42,7 @@
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define libgnac_warning(...) \
- libgnac_warning_real (__func__, __FILE__, __LINE__, TRUE, __VA_ARGS__)
+ libgnac_warning_real (__func__, __FILE__, __LINE__, __VA_ARGS__)
#elif defined(__GNUC__) && __GNUC__ >= 3
#define libgnac_warning(...) \
libgnac_warning_real (__FUNCTION__, __FILE__, __LINE__, __VA_ARGS__)
@@ -52,7 +52,7 @@
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define libgnac_critical(...) \
- libgnac_critical_real (__func__, __FILE__, __LINE__, TRUE, __VA_ARGS__)
+ libgnac_critical_real (__func__, __FILE__, __LINE__, __VA_ARGS__)
#elif defined(__GNUC__) && __GNUC__ >= 3
#define libgnac_critical(...) \
libgnac_critical_real (__FUNCTION__, __FILE__, __LINE__, __VA_ARGS__)