glib2/glib2-dbus-socket-path.patch

14 lines
512 B
Diff

diff -Naur glib-2.38.0/gio/gdbusaddress.c glib-2.38.0.new/gio/gdbusaddress.c
--- glib-2.38.0/gio/gdbusaddress.c 2013-09-17 20:47:14.000000000 +0200
+++ glib-2.38.0.new/gio/gdbusaddress.c 2013-11-15 21:56:29.143203355 +0100
@@ -1515,7 +1515,7 @@
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;