Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/pam/files: Linux-PAM-1.1.0-nonls.patch
Date: Sun, 21 Jun 2009 09:31:23
Message-Id: E1MIJOS-0004uW-Pt@stork.gentoo.org
1 flameeyes 09/06/21 09:31:20
2
3 Added: Linux-PAM-1.1.0-nonls.patch
4 Log:
5 Add a patch to fix building with nls USE flag disabled, see bug #274856.
6 (Portage version: 2.2_rc33/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sys-libs/pam/files/Linux-PAM-1.1.0-nonls.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/pam/files/Linux-PAM-1.1.0-nonls.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/pam/files/Linux-PAM-1.1.0-nonls.patch?rev=1.1&content-type=text/plain
13
14 Index: Linux-PAM-1.1.0-nonls.patch
15 ===================================================================
16 --- Linux-PAM-1.1.0/modules/pam_lastlog/pam_lastlog.c.orig
17 +++ Linux-PAM-1.1.0/modules/pam_lastlog/pam_lastlog.c
18 @@ -471,7 +471,7 @@ last_login_failed(pam_handle_t *pamh, in
19 failed),
20 failed);
21 #else
22 - if (daysleft == 1)
23 + if (failed == 1)
24 retval = asprintf(&line,
25 _("There was %d failed login attempt since the last successful login."),
26 failed);