Minor fixes for build problems 56/63356/1 accepted/tizen/common/20160325.134933 accepted/tizen/ivi/20160323.140943 accepted/tizen/mobile/20160323.135615 accepted/tizen/tv/20160323.135853 accepted/tizen/wearable/20160323.135554 submit/tizen/20160323.092713
authorHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 23 Mar 2016 09:25:25 +0000 (18:25 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 23 Mar 2016 09:25:25 +0000 (18:25 +0900)
Change-Id: Ia998daae96c4bd9db2b65f26d977928b36f3fd2e
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
gio/gdbusaddress.c
packaging/glib2.spec

index f5ef5aa..7453d6b 100644 (file)
@@ -1529,8 +1529,9 @@ g_dbus_address_get_for_bus_sync (GBusType       bus_type,
   if (G_UNLIKELY (_g_dbus_debug_address ()))
     {
       guint n;
+      gchar *s;
       _g_dbus_debug_print_lock ();
-      g_char *s = _g_dbus_enum_to_string (G_TYPE_BUS_TYPE, bus_type);
+      s = _g_dbus_enum_to_string (G_TYPE_BUS_TYPE, bus_type);
       g_print ("GDBus-debug:Address: In g_dbus_address_get_for_bus_sync() for bus type '%s'\n", s);
       g_free(s);
       for (n = 0; n < 3; n++)
@@ -1622,13 +1623,13 @@ g_dbus_address_get_for_bus_sync (GBusType       bus_type,
       _g_dbus_debug_print_lock ();
       if (ret != NULL)
         {
-          g_char *s = _g_dbus_enum_to_string (G_TYPE_BUS_TYPE, bus_type);
+          gchar *s = _g_dbus_enum_to_string (G_TYPE_BUS_TYPE, bus_type);
           g_print ("GDBus-debug:Address: Returning address '%s' for bus type '%s'\n", ret, s);
          g_free(s);
         }
       else
         {
-          g_char *s = _g_dbus_enum_to_string (G_TYPE_BUS_TYPE, bus_type);
+          gchar *s = _g_dbus_enum_to_string (G_TYPE_BUS_TYPE, bus_type);
           g_print ("GDBus-debug:Address: Cannot look-up address bus type '%s': %s\n", s, 
                    local_error ? local_error->message : "");
           g_free(s);
index f2acbe7..40cd104 100644 (file)
@@ -191,10 +191,10 @@ NOCONFIGURE=1 ./autogen.sh
 %if 0%{?with_systemtap}
     --enable-systemtap \
 %endif
-%if %{with dbuspolicy}
-    --enable-libdbuspolicy \
-%endif
     --with-pcre=system
+#%if %{with dbuspolicy}
+#    --enable-libdbuspolicy \
+#%endif
 
 %{__make} %{?_smp_mflags} V=1