Transfer the Mac SDK bockbuild profiles & resources inside the Mono repository.
[mono.git] / bockbuild / mac-sdk / patches / glib / patch-gio_gdbusprivate.c.diff
1 --- gio/gdbusprivate.c.orig     2012-04-30 11:24:02.000000000 -0500
2 +++ gio/gdbusprivate.c  2012-05-02 01:57:47.000000000 -0500
3 @@ -2094,7 +2094,7 @@
4    /* TODO: use PACKAGE_LOCALSTATEDIR ? */
5    ret = NULL;
6    first_error = NULL;
7 -  if (!g_file_get_contents ("/var/lib/dbus/machine-id",
8 +  if (!g_file_get_contents ("@@PREFIX@@/var/lib/dbus/machine-id",
9                              &ret,
10                              NULL,
11                              &first_error) &&
12 @@ -2104,7 +2104,7 @@
13                              NULL))
14      {
15        g_propagate_prefixed_error (error, first_error,
16 -                                  _("Unable to load /var/lib/dbus/machine-id or /etc/machine-id: "));
17 +                                  _("Unable to load @@PREFIX@@/var/lib/dbus/machine-id or /etc/machine-id: "));
18      }
19    else
20      {