summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@gentoo.org>2007-01-29 21:39:16 +0000
committerDaniel Gryniewicz <dang@gentoo.org>2007-01-29 21:39:16 +0000
commitdfd103ac9b9995bf8fcdafee6fbe8052a0794f63 (patch)
treedb4c394a2216b69f19bfe52230442cc77d340423 /gnome-extra/gnome-screensaver/files
parentFixed rpm sandbox issue, closes bug#157773 (diff)
downloadgentoo-2-dfd103ac9b9995bf8fcdafee6fbe8052a0794f63.tar.gz
gentoo-2-dfd103ac9b9995bf8fcdafee6fbe8052a0794f63.tar.bz2
gentoo-2-dfd103ac9b9995bf8fcdafee6fbe8052a0794f63.zip
Make it build with openpam; bug #163748
(Portage version: 2.1.2-r5)
Diffstat (limited to 'gnome-extra/gnome-screensaver/files')
-rw-r--r--gnome-extra/gnome-screensaver/files/gnome-screensaver-2.16.2-openpam.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/gnome-extra/gnome-screensaver/files/gnome-screensaver-2.16.2-openpam.patch b/gnome-extra/gnome-screensaver/files/gnome-screensaver-2.16.2-openpam.patch
new file mode 100644
index 000000000000..b5855b64ba8c
--- /dev/null
+++ b/gnome-extra/gnome-screensaver/files/gnome-screensaver-2.16.2-openpam.patch
@@ -0,0 +1,12 @@
+diff --exclude-from=/opt/home/dang/.diffrc -up -ruN gnome-screensaver-2.16.2.orig/src/gs-auth-pam.c gnome-screensaver-2.16.2/src/gs-auth-pam.c
+--- gnome-screensaver-2.16.2.orig/src/gs-auth-pam.c 2006-11-09 11:17:35.000000000 -0500
++++ gnome-screensaver-2.16.2/src/gs-auth-pam.c 2007-01-29 16:17:04.000000000 -0500
+@@ -226,7 +226,7 @@ pam_conversation (int
+ if (res) {
+ reply [replies].resp_retcode = PAM_SUCCESS;
+ } else {
+- reply [replies].resp_retcode = PAM_INCOMPLETE;
++ reply [replies].resp_retcode = PAM_TRY_AGAIN;
+ }
+ }
+