openexr: make architecture independent
[oi-userland.git] / components / library / dbus-glib / patches / 01-avoid-crash.patch
blobbb99600b0c7fd4b22d61b2cac8f35507eaad6724
1 --- dbus-glib-0.88/dbus/dbus-gobject.c-orig 2011-07-22 18:43:55.286789655 -0500
2 +++ dbus-glib-0.88/dbus/dbus-gobject.c 2011-07-22 18:48:14.153767255 -0500
3 @@ -716,6 +716,8 @@ write_interface (gpointer key, gpointer
4 s = lookup_property_name (data->object, name, propname);
6 spec = g_object_class_find_property (g_type_class_peek (data->gtype), s);
7 + if (spec != NULL) {
9 g_assert (spec != NULL);
10 g_free (s);
12 @@ -747,6 +749,7 @@ write_interface (gpointer key, gpointer
14 g_string_append (xml, "\"/>\n");
16 + }
18 g_free (dbus_type);