summaryrefslogtreecommitdiff
path: root/x11/gdm/patches/patch-bd
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gdm/patches/patch-bd')
-rw-r--r--x11/gdm/patches/patch-bd24
1 files changed, 24 insertions, 0 deletions
diff --git a/x11/gdm/patches/patch-bd b/x11/gdm/patches/patch-bd
new file mode 100644
index 00000000000..31b3b389e81
--- /dev/null
+++ b/x11/gdm/patches/patch-bd
@@ -0,0 +1,24 @@
+$NetBSD: patch-bd,v 1.1 2002/07/27 15:20:06 jschauma Exp $
+
+--- gui/gdmlogin.c.orig Sun Mar 11 23:24:07 2001
++++ gui/gdmlogin.c Sat Jul 27 11:07:27 2002
+@@ -1971,11 +1971,19 @@
+ const char * const lockout_passes[] = { "*", "!!", NULL };
+ gint i;
+
++ /*
++ * pw_passwd is set to "*" on NetBSD as well as when shadow passwords are
++ * used; in these cases, the following code effectively eliminates any
++ * functionality from the 'faces browser'.
++ * (pointed out by Cliff in PR pkg/17184)
++ */
++#ifdef broken
+ for (i=0 ; lockout_passes[i] != NULL ; i++) {
+ if (strcmp (lockout_passes[i], pwent->pw_passwd) == 0) {
+ return TRUE;
+ }
+ }
++#endif
+
+ if (GdmExclude != NULL &&
+ GdmExclude[0] != '\0') {