$OpenBSD: patch-src_ibusshare_c,v 1.2 2013/01/17 23:31:41 fgsch Exp $
--- src/ibusshare.c.orig	Thu Jan 10 23:07:00 2013
+++ src/ibusshare.c	Thu Jan 10 23:07:14 2013
@@ -41,15 +41,15 @@ ibus_get_local_machine_id (void)
 
     if (machine_id == NULL) {
         GError *error = NULL;
-        if (!g_file_get_contents ("/var/lib/dbus/machine-id",
+        if (!g_file_get_contents ("/var/db/dbus/machine-id",
                                   &machine_id,
                                   NULL,
                                   &error) &&
-            !g_file_get_contents ("/etc/machine-id",
+            !g_file_get_contents ("${SYSCONFDIR}/machine-id",
                                   &machine_id,
                                   NULL,
                                   NULL)) {
-            g_warning ("Unable to load /var/lib/dbus/machine-id: %s", error->message);
+            g_warning ("Unable to load /var/db/dbus/machine-id: %s", error->message);
             g_error_free (error);
             machine_id = "machine-id";
         }
