diff options
author | 2009-08-07 09:10:23 +0000 | |
---|---|---|
committer | 2009-08-07 09:10:23 +0000 | |
commit | df9184b87279857030bb14e9f390317877e5682e (patch) | |
tree | 62c81335c855d2a489fc446e3e2da0d21b029414 /net-mail | |
parent | Fix building with GCC 4.4+ and GLIBC 2.10+ wrt #276847. Remove .desktop entry... (diff) | |
download | gentoo-2-df9184b87279857030bb14e9f390317877e5682e.tar.gz gentoo-2-df9184b87279857030bb14e9f390317877e5682e.tar.bz2 gentoo-2-df9184b87279857030bb14e9f390317877e5682e.zip |
Fix building with GLIBC 2.10+ wrt #274107.
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/metamail/ChangeLog | 8 | ||||
-rw-r--r-- | net-mail/metamail/files/metamail-2.7.53.3-glibc-2.10.patch | 30 | ||||
-rw-r--r-- | net-mail/metamail/metamail-2.7.53.3.ebuild | 7 |
3 files changed, 40 insertions, 5 deletions
diff --git a/net-mail/metamail/ChangeLog b/net-mail/metamail/ChangeLog index 748fcc38d8d7..31ba2b10fa70 100644 --- a/net-mail/metamail/ChangeLog +++ b/net-mail/metamail/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-mail/metamail -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/metamail/ChangeLog,v 1.37 2008/08/19 14:56:15 dberkholz Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/metamail/ChangeLog,v 1.38 2009/08/07 09:10:23 ssuominen Exp $ + + 07 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> + metamail-2.7.53.3.ebuild, +files/metamail-2.7.53.3-glibc-2.10.patch: + Fix building with GLIBC 2.10+ wrt #274107. 19 Aug 2008; Donnie Berkholz <dberkholz@gentoo.org>; metamail-2.7.45.3-r1.ebuild, metamail-2.7.53.3.ebuild: diff --git a/net-mail/metamail/files/metamail-2.7.53.3-glibc-2.10.patch b/net-mail/metamail/files/metamail-2.7.53.3-glibc-2.10.patch new file mode 100644 index 000000000000..7da331adbbf8 --- /dev/null +++ b/net-mail/metamail/files/metamail-2.7.53.3-glibc-2.10.patch @@ -0,0 +1,30 @@ +diff -ur mm2.7.orig/src/metamail/uue.c mm2.7/src/metamail/uue.c +--- mm2.7.orig/src/metamail/uue.c 1993-07-28 21:31:02.000000000 +0300 ++++ mm2.7/src/metamail/uue.c 2009-08-07 12:09:35.000000000 +0300 +@@ -30,7 +30,7 @@ + } + + +-getline (buf, size, fp) ++get_line (buf, size, fp) + char *buf; + int size; + FILE *fp; +@@ -70,7 +70,7 @@ + char buf[63]; + + while (1) { +- if (getline (buf, sizeof buf, infp) < 0) { ++ if (get_line (buf, sizeof buf, infp) < 0) { + fprintf (stderr, "Premature EOF!\n"); + return; + } +@@ -82,7 +82,7 @@ + } + } + while (1) { +- if (getline (buf, sizeof buf, infp) < 0) { ++ if (get_line (buf, sizeof buf, infp) < 0) { + fprintf (stderr, "Premature EOF!\n"); + return; + } diff --git a/net-mail/metamail/metamail-2.7.53.3.ebuild b/net-mail/metamail/metamail-2.7.53.3.ebuild index 90cfa137e79a..e1b4ed7d4a81 100644 --- a/net-mail/metamail/metamail-2.7.53.3.ebuild +++ b/net-mail/metamail/metamail-2.7.53.3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/metamail/metamail-2.7.53.3.ebuild,v 1.2 2008/08/19 14:56:15 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/metamail/metamail-2.7.53.3.ebuild,v 1.3 2009/08/07 09:10:23 ssuominen Exp $ WANT_AUTOCONF="2.5" @@ -25,13 +25,14 @@ DEPEND="sys-libs/ncurses RDEPEND="app-misc/mime-types sys-apps/debianutils" -S="${WORKDIR}"/mm${MY_PV}/src +S=${WORKDIR}/mm${MY_PV}/src src_unpack() { unpack ${A} cd "${S}" epatch "${WORKDIR}"/metamail_${DEB_PV}.diff epatch "${FILESDIR}"/${PN}-2.7.45.3-CVE-2006-0709.patch + epatch "${FILESDIR}"/${P}-glibc-2.10.patch eautoreconf chmod +x "${S}"/configure } |