File glib2-dbus-socket-path.patch of Package glib2.17284

Index: glib-2.56.2/gio/gdbusaddress.c
===================================================================
--- glib-2.56.2.orig/gio/gdbusaddress.c	2018-08-16 22:53:19.000000000 +0200
+++ glib-2.56.2/gio/gdbusaddress.c	2018-08-17 10:46:31.564471587 +0200
@@ -1628,7 +1628,7 @@ g_dbus_address_get_for_bus_sync (GBusTyp
       ret = g_strdup (g_getenv ("DBUS_SYSTEM_BUS_ADDRESS"));
       if (ret == NULL)
         {
-          ret = g_strdup ("unix:path=/var/run/dbus/system_bus_socket");
+          ret = g_strdup ("unix:path=/run/dbus/system_bus_socket");
         }
       break;
 
openSUSE Build Service is sponsored by