File gdm-consolekit-helper-subdir.patch of Package gdm

diff -upr gdm-2.22.0-pre/daemon/gdm-server.c gdm-2.22.0-post/daemon/gdm-server.c
--- gdm-2.22.0-pre/daemon/gdm-server.c	2008-04-17 22:29:28.000000000 -0500
+++ gdm-2.22.0-post/daemon/gdm-server.c	2008-07-31 00:35:53.000000000 -0500
@@ -125,7 +125,7 @@ _gdm_server_query_ck_for_display_device
         g_return_val_if_fail (GDM_IS_SERVER (server), NULL);
 
         error = NULL;
-        command = g_strdup_printf (LIBEXECDIR "/ck-get-x11-display-device --display %s",
+        command = g_strdup_printf ("/usr/lib/ConsoleKit/ck-get-x11-display-device --display %s",
                                    server->priv->display_name);
 
         g_debug ("GdmServer: Running helper %s", command);
openSUSE Build Service is sponsored by