diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-11-30 00:42:41 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-11-30 00:42:41 +0000 |
commit | 6dd9296e82a0adf5afc9ee37a07330437bf91e6f (patch) | |
tree | c52a5fd388f1ca9fcdb41afd47a11670a7eed65c /sys-auth/pam_bioapi | |
parent | Smarten up the DISABLE_DEPRECATED removal. (diff) | |
download | gentoo-2-6dd9296e82a0adf5afc9ee37a07330437bf91e6f.tar.gz gentoo-2-6dd9296e82a0adf5afc9ee37a07330437bf91e6f.tar.bz2 gentoo-2-6dd9296e82a0adf5afc9ee37a07330437bf91e6f.zip |
Pull in locale.h since defines from it are used #241322 by Diego E. Pettenò.
(Portage version: 2.2_rc16/cvs/Linux 2.6.27.4 x86_64)
Diffstat (limited to 'sys-auth/pam_bioapi')
-rw-r--r-- | sys-auth/pam_bioapi/ChangeLog | 7 | ||||
-rw-r--r-- | sys-auth/pam_bioapi/files/pam_bioapi-0.4.0-headers.patch | 15 | ||||
-rw-r--r-- | sys-auth/pam_bioapi/pam_bioapi-0.4.0.ebuild | 10 |
3 files changed, 29 insertions, 3 deletions
diff --git a/sys-auth/pam_bioapi/ChangeLog b/sys-auth/pam_bioapi/ChangeLog index 88cbf73754e1..96190f314791 100644 --- a/sys-auth/pam_bioapi/ChangeLog +++ b/sys-auth/pam_bioapi/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-auth/pam_bioapi # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_bioapi/ChangeLog,v 1.5 2008/02/27 10:39:10 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_bioapi/ChangeLog,v 1.6 2008/11/30 00:42:41 vapier Exp $ + + 30 Nov 2008; Mike Frysinger <vapier@gentoo.org> + +files/pam_bioapi-0.4.0-headers.patch, pam_bioapi-0.4.0.ebuild: + Pull in locale.h since defines from it are used #241322 by Diego E. + Pettenò. 27 Feb 2008; Mike Frysinger <vapier@gentoo.org> pam_bioapi-0.4.0.ebuild: Tweak DEPEND: tfm-fingerprint is RDEPEND only. diff --git a/sys-auth/pam_bioapi/files/pam_bioapi-0.4.0-headers.patch b/sys-auth/pam_bioapi/files/pam_bioapi-0.4.0-headers.patch new file mode 100644 index 000000000000..00b7b6ff0abe --- /dev/null +++ b/sys-auth/pam_bioapi/files/pam_bioapi-0.4.0-headers.patch @@ -0,0 +1,15 @@ +fix building with -O0 + +http://code.google.com/p/pam-bioapi/issues/detail?id=3 +http://bugs.gentoo.org/241322 + +--- libpam_bioapi/pam_bioapi.h ++++ libpam_bioapi/pam_bioapi.h +@@ -23,6 +23,7 @@ + #include <sys/wait.h> + #include "earray.h" + ++#include <locale.h> + #include <libintl.h> /* gnu gettext support */ + #define _(String) gettext (String) + diff --git a/sys-auth/pam_bioapi/pam_bioapi-0.4.0.ebuild b/sys-auth/pam_bioapi/pam_bioapi-0.4.0.ebuild index c852b114d05f..a818f4c174db 100644 --- a/sys-auth/pam_bioapi/pam_bioapi-0.4.0.ebuild +++ b/sys-auth/pam_bioapi/pam_bioapi-0.4.0.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_bioapi/pam_bioapi-0.4.0.ebuild,v 1.2 2008/02/27 10:39:10 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_bioapi/pam_bioapi-0.4.0.ebuild,v 1.3 2008/11/30 00:42:41 vapier Exp $ -inherit toolchain-funcs +inherit eutils toolchain-funcs DESCRIPTION="PAM interface to bioapi package" HOMEPAGE="http://code.google.com/p/pam-bioapi/" @@ -19,6 +19,12 @@ DEPEND="sys-auth/bioapi RDEPEND="${DEPEND} sys-auth/tfm-fingerprint" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-headers.patch #241322 +} + src_compile() { econf --sbindir=/sbin || die emake || die |