openbsd-ports/x11/gnome/gdm/patches/patch-gui_greeter_greeter_c
jasper 88c7d3697c - update gdm to 2.20.1
- make the *beep* sounds work
- install the Xsession script with the executable bit, so gdm won't
  try to start gnome in failsafe mode. as reported by several users.

tested by fkr@
2007-11-27 20:26:13 +00:00

15 lines
680 B
Plaintext

$OpenBSD: patch-gui_greeter_greeter_c,v 1.7 2007/11/27 20:26:13 jasper Exp $
--- gui/greeter/greeter.c.orig Mon Oct 15 23:42:38 2007
+++ gui/greeter/greeter.c Sat Oct 27 17:09:35 2007
@@ -1523,8 +1523,8 @@ main (int argc, char *argv[])
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
- execl (LIBEXECDIR "/gdmlogin", LIBEXECDIR "/gdmlogin", NULL);
- execlp ("gdmlogin", "gdmlogin", NULL);
+ execl (LIBEXECDIR "/gdmlogin", LIBEXECDIR "/gdmlogin", (void *)NULL);
+ execlp ("gdmlogin", "gdmlogin", (void *)NULL);
dialog = hig_dialog_new (NULL /* parent */,
GTK_DIALOG_MODAL /* flags */,