Xamarin Public Jenkins (auto-signing) 6bdd276d05 Imported Upstream version 5.0.0.42
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
2017-04-10 11:41:01 +00:00

21 lines
824 B
Diff

--- gio/gdbusprivate.c.orig 2012-04-30 11:24:02.000000000 -0500
+++ gio/gdbusprivate.c 2012-05-02 01:57:47.000000000 -0500
@@ -2094,7 +2094,7 @@
/* TODO: use PACKAGE_LOCALSTATEDIR ? */
ret = NULL;
first_error = NULL;
- if (!g_file_get_contents ("/var/lib/dbus/machine-id",
+ if (!g_file_get_contents ("@@PREFIX@@/var/lib/dbus/machine-id",
&ret,
NULL,
&first_error) &&
@@ -2104,7 +2104,7 @@
NULL))
{
g_propagate_prefixed_error (error, first_error,
- _("Unable to load /var/lib/dbus/machine-id or /etc/machine-id: "));
+ _("Unable to load @@PREFIX@@/var/lib/dbus/machine-id or /etc/machine-id: "));
}
else
{