openbsd-ports/x11/kde/base2/patches/patch-kdm_session_c

12 lines
338 B
Plaintext

--- kdm/session.c.orig Thu Sep 28 14:01:34 2000
+++ kdm/session.c Thu Sep 28 14:01:51 2000
@@ -759,7 +759,7 @@ StartClient (verify, d, pidp, name, pass
pwd = getpwnam(name);
if (pwd)
{
-#ifdef __bsdi__
+#if defined(__bsdi__) || defined(__OpenBSD__)
lc = login_getclass(pwd->pw_class);
#else
lc = login_getpwclass(pwd);