diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-10-08 00:42:19 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-10-08 00:42:19 +0800 |
commit | edec989e3aeb2f20936a9af18040ec2d8870157c (patch) | |
tree | 1e8bf1c75f41b6d6822f86ee6ed57bec1a43e0dc | |
parent | 06d5f952b03636f2ce2b5d612f0f2cb94b6755b0 (diff) | |
download | marcuscom-ports-edec989e3aeb2f20936a9af18040ec2d8870157c.tar marcuscom-ports-edec989e3aeb2f20936a9af18040ec2d8870157c.tar.gz marcuscom-ports-edec989e3aeb2f20936a9af18040ec2d8870157c.tar.bz2 marcuscom-ports-edec989e3aeb2f20936a9af18040ec2d8870157c.tar.lz marcuscom-ports-edec989e3aeb2f20936a9af18040ec2d8870157c.tar.xz marcuscom-ports-edec989e3aeb2f20936a9af18040ec2d8870157c.tar.zst marcuscom-ports-edec989e3aeb2f20936a9af18040ec2d8870157c.zip |
Attempt to clean up some login errors when the gnome-keyring PAM module
is used.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11668 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | x11/gdm/Makefile | 3 | ||||
-rw-r--r-- | x11/gdm/files/patch-daemon_gdm-session-worker.c | 11 |
2 files changed, 2 insertions, 12 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile index c01573cb9..ec4d7ba4c 100644 --- a/x11/gdm/Makefile +++ b/x11/gdm/Makefile @@ -3,11 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/x11/gdm/Makefile,v 1.135 2008/09/10 04:21:52 mezz Exp $ +# $MCom: ports/x11/gdm/Makefile,v 1.136 2008/09/22 22:37:05 marcus Exp $ # PORTNAME= gdm PORTVERSION= 2.24.0 +PORTREVISION= 1 CATEGORIES= x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 diff --git a/x11/gdm/files/patch-daemon_gdm-session-worker.c b/x11/gdm/files/patch-daemon_gdm-session-worker.c index 406943895..5f3a1b9ee 100644 --- a/x11/gdm/files/patch-daemon_gdm-session-worker.c +++ b/x11/gdm/files/patch-daemon_gdm-session-worker.c @@ -9,14 +9,3 @@ } len = strlen (file) + 1; -@@ -1062,6 +1062,10 @@ gdm_session_worker_initialize_pam (GdmSe - pam_conversation.conv = (GdmSessionWorkerPamNewMessagesFunc) gdm_session_worker_pam_new_messages_handler; - pam_conversation.appdata_ptr = worker; - -+ g_setenv ("DISPLAY", x11_display_name, FALSE); -+ -+ g_setenv ("XAUTHORITY", x11_authority_file, FALSE); -+ - gdm_session_worker_start_auditor (worker); - error_code = pam_start (service, - username, |