diff options
Diffstat (limited to 'dev-libs/glib/files/glib-2.12.7-dont-crash.patch')
-rw-r--r-- | dev-libs/glib/files/glib-2.12.7-dont-crash.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-libs/glib/files/glib-2.12.7-dont-crash.patch b/dev-libs/glib/files/glib-2.12.7-dont-crash.patch new file mode 100644 index 0000000..1f50c7f --- /dev/null +++ b/dev-libs/glib/files/glib-2.12.7-dont-crash.patch @@ -0,0 +1,16 @@ +diff --exclude-from=/home/dang/.diffrc -up -ruN glib-2.12.7.orig/glib/gmessages.c glib-2.12.7/glib/gmessages.c +--- glib-2.12.7.orig/glib/gmessages.c 2007-01-04 16:40:16.000000000 -0500 ++++ glib-2.12.7/glib/gmessages.c 2007-01-07 22:32:59.000000000 -0500 +@@ -425,9 +425,11 @@ g_logv (const gchar *log_domain, + if (depth) + test_level |= G_LOG_FLAG_RECURSION; + depth++; +- domain_fatal_mask = domain ? domain->fatal_mask : G_LOG_FATAL_MASK; ++ domain_fatal_mask = G_LOG_FATAL_MASK; ++#if 0 + if ((domain_fatal_mask | g_log_always_fatal) & test_level) + test_level |= G_LOG_FLAG_FATAL; ++#endif + if (test_level & G_LOG_FLAG_RECURSION) + log_func = _g_log_fallback_handler; + else |