$OpenBSD: patch-dbus_dbus-gvalue_c,v 1.4 2011/06/03 16:55:16 ajacoutot Exp $

fixes compile on gcc2.95 arches

--- dbus/dbus-gvalue.c.orig	Wed Jun  1 18:29:39 2011
+++ dbus/dbus-gvalue.c	Fri Jun  3 18:37:46 2011
@@ -835,10 +835,11 @@ demarshal_strv (DBusGValueMarshalCtx    *context,
 
   while ((current_type = dbus_message_iter_get_arg_type (&subiter)) != DBUS_TYPE_INVALID)
     {
-      g_assert (current_type == DBUS_TYPE_STRING);
       const char *str;
       char *copy;
       
+      g_assert (current_type == DBUS_TYPE_STRING);
+
       dbus_message_iter_get_basic (&subiter, &str);
       copy = g_strdup (str);
       g_array_append_val (arr, copy);
