diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2003-08-28 19:39:01 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2003-08-28 19:39:01 +0000 |
commit | 9683be5fc3a68dfd728c35da20a85d9de14a3323 (patch) | |
tree | c93721ec3b11bdd86c2a3dcac2a0b87fd7be1b41 /x11/kde4-runtime/files/patch-kdm-backend-client.c | |
parent | - Update to version 1.4.5 (diff) |
Multiple bugfixes and enhancements for kdebase.
- Add patches for konsole which enable konsole_grantpty to
properly change permissions on ttys and fix a bug which causes
konsole to crash on recent builds of -CURRENT.
- Add a patch for configure that fixes fontconfig detection.
- Add a patch submitted by Kaarthik Sivakumar <kaarthik@comcast.net>
which fixes the bug described in PR ports/48334.
- Add a pkg-message that notifies users about the fonts this port
installs.
- Use the USE_OPENLDAP macro.
PR: ports/48334
Approved by: arved (Mentor)
Diffstat (limited to 'x11/kde4-runtime/files/patch-kdm-backend-client.c')
-rw-r--r-- | x11/kde4-runtime/files/patch-kdm-backend-client.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/x11/kde4-runtime/files/patch-kdm-backend-client.c b/x11/kde4-runtime/files/patch-kdm-backend-client.c new file mode 100644 index 000000000000..fe44c4f3831c --- /dev/null +++ b/x11/kde4-runtime/files/patch-kdm-backend-client.c @@ -0,0 +1,33 @@ +--- kdm/backend/client.c 18 Jun 2003 20:05:15 -0000 2.25.2.4 ++++ kdm/backend/client.c 6 Aug 2003 16:02:39 -0000 2.25.2.5 +@@ -1,5 +1,5 @@ + /* $TOG: verify.c /main/37 1998/02/11 10:00:45 kaleb $ */ +-/* $Id: client.c,v 2.25.2.4 2003/06/18 20:05:15 ossi Exp $ */ ++/* $Id: client.c,v 2.25.2.5 2003/08/06 16:02:39 ossi Exp $ */ + /* + + Copyright 1988, 1998 The Open Group +@@ -1009,7 +1009,11 @@ StartClient (struct display *d, + exit (1); + # endif + # ifdef USE_PAM +- pam_setcred(pamh, 0); ++ if (pam_setcred(pamh, 0) != PAM_SUCCESS) { ++ LogError("pam_setcred for %\"s failed, errno=%d\n", ++ name, errno); ++ exit (1); ++ } + /* pass in environment variables set by libpam and modules it called */ + pam_env = pam_getenvlist(pamh); + ReInitErrorLog (); +@@ -1267,7 +1271,9 @@ SessionExit (struct display *d, int stat + #ifdef USE_PAM + if (pamh) { + /* shutdown PAM session */ +- pam_setcred(pamh, PAM_DELETE_CRED); ++ if (pam_setcred(pamh, PAM_DELETE_CRED) != PAM_SUCCESS) ++ LogError("pam_setcred(DELETE_CRED) for %\"s failed, errno=%d\n", ++ d->verify->user, errno); + pam_close_session(pamh, 0); + pam_end(pamh, PAM_SUCCESS); + pamh = NULL; |