diff options
author | 2012-08-11 16:01:29 +0000 | |
---|---|---|
committer | 2012-08-11 16:01:29 +0000 | |
commit | 9eb9da9f6c7933733134b5262850c9c5d96beb1e (patch) | |
tree | c2011dd9fe3c8519459281bee5e93a995b85a1c4 /net-mail | |
parent | Upstream only has one git repo now #430772 by Robert McGehee. (diff) | |
download | gentoo-2-9eb9da9f6c7933733134b5262850c9c5d96beb1e.tar.gz gentoo-2-9eb9da9f6c7933733134b5262850c9c5d96beb1e.tar.bz2 gentoo-2-9eb9da9f6c7933733134b5262850c9c5d96beb1e.zip |
Fix building against sys-libs/glibc-2.16 by Diego Elio Pettenò (bug #426188).
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/mailutils/ChangeLog | 7 | ||||
-rw-r--r-- | net-mail/mailutils/files/mailutils-2.2-gets.patch | 14 | ||||
-rw-r--r-- | net-mail/mailutils/mailutils-2.2.ebuild | 5 |
3 files changed, 23 insertions, 3 deletions
diff --git a/net-mail/mailutils/ChangeLog b/net-mail/mailutils/ChangeLog index a34e9ef8ead6..93bd5740ebb3 100644 --- a/net-mail/mailutils/ChangeLog +++ b/net-mail/mailutils/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-mail/mailutils # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailutils/ChangeLog,v 1.53 2012/04/24 10:36:06 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/mailutils/ChangeLog,v 1.54 2012/08/11 16:01:29 jer Exp $ + + 11 Aug 2012; Jeroen Roovers <jer@gentoo.org> mailutils-2.2.ebuild, + +files/mailutils-2.2-gets.patch: + Fix building against sys-libs/glibc-2.16 by Diego Elio Pettenò (bug + #426188). 24 Apr 2012; Michał Górny <mgorny@gentoo.org> mailutils-2.2.ebuild: Update to use mirror://. diff --git a/net-mail/mailutils/files/mailutils-2.2-gets.patch b/net-mail/mailutils/files/mailutils-2.2-gets.patch new file mode 100644 index 000000000000..d72fa3f056cc --- /dev/null +++ b/net-mail/mailutils/files/mailutils-2.2-gets.patch @@ -0,0 +1,14 @@ +--- a/lib/stdio.in.h ++++ b/lib/stdio.in.h +@@ -138,8 +138,10 @@ + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ +-#undef gets ++#ifdef gets ++# undef gets + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++#endif + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@ diff --git a/net-mail/mailutils/mailutils-2.2.ebuild b/net-mail/mailutils/mailutils-2.2.ebuild index fe64673f205e..3c59de273258 100644 --- a/net-mail/mailutils/mailutils-2.2.ebuild +++ b/net-mail/mailutils/mailutils-2.2.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/net-mail/mailutils/mailutils-2.2.ebuild,v 1.8 2012/04/24 10:36:06 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/mailutils/mailutils-2.2.ebuild,v 1.9 2012/08/11 16:01:29 jer Exp $ EAPI="3" PYTHON_DEPEND="python? 2" @@ -41,7 +41,8 @@ pkg_setup() { } src_prepare() { - epatch "${FILESDIR}"/${PN}-2.1-python.patch + epatch "${FILESDIR}"/${PN}-2.1-python.patch \ + "${FILESDIR}"/${P}-gets.patch elibtoolize # for Darwin bundles # Disable bytecompilation of Python modules. |