From f8b3f06ba5c191408a6591254fa1c74e86a3eebf Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Sun, 7 Oct 2012 18:52:57 +0000 Subject: Add a patch to fix building with USE=selinux and glibc 2.16. Thanks to Anarchy for report and patch. (Portage version: 2.2.0_alpha134/cvs/Linux x86_64) --- sys-libs/pam/ChangeLog | 7 +++++- .../pam/files/Linux-PAM-1.1.6+glibc-2.16.patch | 29 ++++++++++++++++++++++ sys-libs/pam/pam-1.1.6.ebuild | 3 ++- 3 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 sys-libs/pam/files/Linux-PAM-1.1.6+glibc-2.16.patch (limited to 'sys-libs/pam') diff --git a/sys-libs/pam/ChangeLog b/sys-libs/pam/ChangeLog index 7d69629aaf65..b7ac55b362cd 100644 --- a/sys-libs/pam/ChangeLog +++ b/sys-libs/pam/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-libs/pam # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.313 2012/08/17 14:26:10 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.314 2012/10/07 18:52:57 flameeyes Exp $ + + 07 Oct 2012; Diego E. Pettenò + +files/Linux-PAM-1.1.6+glibc-2.16.patch, pam-1.1.6.ebuild: + Add a patch to fix building with USE=selinux and glibc 2.16. Thanks to Anarchy + for report and patch. 17 Aug 2012; Diego E. Pettenò +files/Linux-PAM-1.1.6-destdir.patch, pam-1.1.6.ebuild: diff --git a/sys-libs/pam/files/Linux-PAM-1.1.6+glibc-2.16.patch b/sys-libs/pam/files/Linux-PAM-1.1.6+glibc-2.16.patch new file mode 100644 index 000000000000..cddda35fbeb9 --- /dev/null +++ b/sys-libs/pam/files/Linux-PAM-1.1.6+glibc-2.16.patch @@ -0,0 +1,29 @@ +From 18da0c4763f5e079f8b2df45fa462b0b70b6fd3a Mon Sep 17 00:00:00 2001 +From: "Jory A. Pratt" +Date: Sun, 7 Oct 2012 11:44:17 -0700 +Subject: [PATCH] Fix building with GLIBC 2.16 and SELinux. +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + + +Signed-off-by: Diego Elio Pettenò +--- + modules/pam_unix/pam_unix_passwd.c | 1 + + 1 file modificato, 1 inserzione(+) + +diff --git a/modules/pam_unix/pam_unix_passwd.c b/modules/pam_unix/pam_unix_passwd.c +index 9e1302d..b5f5ae9 100644 +--- a/modules/pam_unix/pam_unix_passwd.c ++++ b/modules/pam_unix/pam_unix_passwd.c +@@ -46,6 +46,7 @@ + #include + #include + #include ++#include + #include + #include + #include +-- +1.7.12 + diff --git a/sys-libs/pam/pam-1.1.6.ebuild b/sys-libs/pam/pam-1.1.6.ebuild index 390f946d1296..429a03c1d85a 100644 --- a/sys-libs/pam/pam-1.1.6.ebuild +++ b/sys-libs/pam/pam-1.1.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-1.1.6.ebuild,v 1.2 2012/08/17 14:26:10 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-1.1.6.ebuild,v 1.3 2012/10/07 18:52:57 flameeyes Exp $ EAPI=4 @@ -86,6 +86,7 @@ pkg_pretend() { src_prepare() { epatch "${FILESDIR}"/${MY_P}-destdir.patch + epatch "${FILESDIR}"/${MY_P}+glibc-2.16.patch eautoreconf elibtoolize -- cgit v1.2.3-65-gdbad