From f0432f0ec0b3cfcdb6082b8f5b47395f30566e6d Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Sun, 8 Jul 2007 17:17:52 +0000 Subject: Fix missing locale.h include when nls USE flag is turned off. Thanks Christian Heim (phreak) for reporting in bug #184618. (Portage version: 2.1.3_rc6) --- sys-libs/pam/ChangeLog | 7 ++++++- sys-libs/pam/files/Linux-PAM-0.99.8.0-setlocale.patch | 12 ++++++++++++ sys-libs/pam/pam-0.99.8.0.ebuild | 3 ++- 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 sys-libs/pam/files/Linux-PAM-0.99.8.0-setlocale.patch (limited to 'sys-libs') diff --git a/sys-libs/pam/ChangeLog b/sys-libs/pam/ChangeLog index a44dc10c0ff9..800d8d263d08 100644 --- a/sys-libs/pam/ChangeLog +++ b/sys-libs/pam/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-libs/pam # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.156 2007/07/08 15:34:16 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.157 2007/07/08 17:17:52 flameeyes Exp $ + + 08 Jul 2007; Diego Pettenò + +files/Linux-PAM-0.99.8.0-setlocale.patch, pam-0.99.8.0.ebuild: + Fix missing locale.h include when nls USE flag is turned off. Thanks + Christian Heim (phreak) for reporting in bug #184618. *pam-0.99.8.0 (08 Jul 2007) diff --git a/sys-libs/pam/files/Linux-PAM-0.99.8.0-setlocale.patch b/sys-libs/pam/files/Linux-PAM-0.99.8.0-setlocale.patch new file mode 100644 index 000000000000..38e20627e475 --- /dev/null +++ b/sys-libs/pam/files/Linux-PAM-0.99.8.0-setlocale.patch @@ -0,0 +1,12 @@ +Index: Linux-PAM-0.99.8.0/modules/pam_limits/pam_limits.c +=================================================================== +--- Linux-PAM-0.99.8.0.orig/modules/pam_limits/pam_limits.c ++++ Linux-PAM-0.99.8.0/modules/pam_limits/pam_limits.c +@@ -27,6 +27,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/sys-libs/pam/pam-0.99.8.0.ebuild b/sys-libs/pam/pam-0.99.8.0.ebuild index 0b92789ecf68..9e9900c4f711 100644 --- a/sys-libs/pam/pam-0.99.8.0.ebuild +++ b/sys-libs/pam/pam-0.99.8.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.99.8.0.ebuild,v 1.1 2007/07/08 15:34:16 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.99.8.0.ebuild,v 1.2 2007/07/08 17:17:52 flameeyes Exp $ WANT_AUTOCONF="latest" WANT_AUTOMAKE="latest" @@ -108,6 +108,7 @@ src_unpack() { epatch "${DISTDIR}/${MY_P}-ldflags-to-libadd.patch.bz2" epatch "${FILESDIR}/${MY_PN}-0.99.7.0-disable-regenerate-man.patch" + epatch "${FILESDIR}/${MY_P}-setlocale.patch" AT_M4DIR="m4" eautoreconf -- cgit v1.2.3-65-gdbad