openbsd-ports/devel/glib2/patches/patch-gio_glib-compile-schemas_c
ajacoutot 5ee4dfff3a Do not warn about bad dconf paths. We do this temporarily so prevent
huge vomit from pkg_add when running glib-compile-schemas. Once most
applications are fixed, we'll remove this patch.
2012-04-23 12:49:47 +00:00

21 lines
824 B
Plaintext

$OpenBSD: patch-gio_glib-compile-schemas_c,v 1.3 2012/04/23 12:49:47 ajacoutot Exp $
XXX TEMP do not warn about bad dconf paths
--- gio/glib-compile-schemas.c.orig Fri Apr 13 15:39:41 2012
+++ gio/glib-compile-schemas.c Mon Apr 23 14:20:42 2012
@@ -1204,11 +1204,13 @@ parse_state_start_schema (ParseState *state,
return;
}
+#if 0
if (path && (g_str_has_prefix (path, "/apps/") ||
g_str_has_prefix (path, "/desktop/") ||
g_str_has_prefix (path, "/system/")))
g_printerr ("warning: Schema '%s' has path '%s'. Paths starting with "
"'/apps/', '/desktop/' or '/system/' are deprecated.\n", id, path);
+#endif
state->schema_state = schema_state_new (path, gettext_domain,
extends, extends_name, list_of);