summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2007-07-08 17:17:52 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2007-07-08 17:17:52 +0000
commitf0432f0ec0b3cfcdb6082b8f5b47395f30566e6d (patch)
treef5fd5873b8d8db98cea232c35fff701424ece488 /sys-libs
parentVersion bump (diff)
downloadgentoo-2-f0432f0ec0b3cfcdb6082b8f5b47395f30566e6d.tar.gz
gentoo-2-f0432f0ec0b3cfcdb6082b8f5b47395f30566e6d.tar.bz2
gentoo-2-f0432f0ec0b3cfcdb6082b8f5b47395f30566e6d.zip
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)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/pam/ChangeLog7
-rw-r--r--sys-libs/pam/files/Linux-PAM-0.99.8.0-setlocale.patch12
-rw-r--r--sys-libs/pam/pam-0.99.8.0.ebuild3
3 files changed, 20 insertions, 2 deletions
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ò <flameeyes@gentoo.org>
+ +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 <errno.h>
+ #include <syslog.h>
+ #include <stdarg.h>
++#include <locale.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/resource.h>
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