diff options
author | Torsten Veller <tove@gentoo.org> | 2008-05-31 10:27:04 +0000 |
---|---|---|
committer | Torsten Veller <tove@gentoo.org> | 2008-05-31 10:27:04 +0000 |
commit | dc36328d4db6053a54ed3139d70aed2b7991dfe9 (patch) | |
tree | 91d2f49ebea5b435b4e2cacfce9942ed7785535e /mail-filter/mailfilter | |
parent | Version bump #223827 by Rodrigo Severo. (diff) | |
download | gentoo-2-dc36328d4db6053a54ed3139d70aed2b7991dfe9.tar.gz gentoo-2-dc36328d4db6053a54ed3139d70aed2b7991dfe9.tar.bz2 gentoo-2-dc36328d4db6053a54ed3139d70aed2b7991dfe9.zip |
Add gcc-4.3 patch. Add flex to DEPEND
(Portage version: 2.1.5.2)
Diffstat (limited to 'mail-filter/mailfilter')
-rw-r--r-- | mail-filter/mailfilter/ChangeLog | 8 | ||||
-rw-r--r-- | mail-filter/mailfilter/files/0.8.1-gcc43.patch | 14 | ||||
-rw-r--r-- | mail-filter/mailfilter/mailfilter-0.8.1.ebuild | 17 |
3 files changed, 34 insertions, 5 deletions
diff --git a/mail-filter/mailfilter/ChangeLog b/mail-filter/mailfilter/ChangeLog index 68a75a6132a0..6fee7be35a9c 100644 --- a/mail-filter/mailfilter/ChangeLog +++ b/mail-filter/mailfilter/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for mail-filter/mailfilter -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/mailfilter/ChangeLog,v 1.22 2007/09/16 09:42:01 tove Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/mailfilter/ChangeLog,v 1.23 2008/05/31 10:27:04 tove Exp $ + + 31 May 2008; Torsten Veller <tove@gentoo.org> +files/0.8.1-gcc43.patch, + mailfilter-0.8.1.ebuild: + Add gcc-4.3 patch. Add flex to DEPEND *mailfilter-0.8.1 (16 Sep 2007) diff --git a/mail-filter/mailfilter/files/0.8.1-gcc43.patch b/mail-filter/mailfilter/files/0.8.1-gcc43.patch new file mode 100644 index 000000000000..a9fb17dfcb1b --- /dev/null +++ b/mail-filter/mailfilter/files/0.8.1-gcc43.patch @@ -0,0 +1,14 @@ +http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455619 +## 10_fix_gcc-4.3_ftbfs.dpatch by Cyril Brulebois <cyril.brulebois@enst-bretagne.fr> + +--- src/apop.cc ++++ src/apop.cc +@@ -28,6 +28,8 @@ + #include "md5.h" + } + ++#include <cstring> ++ + using namespace std; + + bool APOP :: login (const char* usr, diff --git a/mail-filter/mailfilter/mailfilter-0.8.1.ebuild b/mail-filter/mailfilter/mailfilter-0.8.1.ebuild index 2cd366030e5e..4a5fc67a8f66 100644 --- a/mail-filter/mailfilter/mailfilter-0.8.1.ebuild +++ b/mail-filter/mailfilter/mailfilter-0.8.1.ebuild @@ -1,9 +1,11 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/mailfilter/mailfilter-0.8.1.ebuild,v 1.1 2007/09/16 09:42:01 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/mailfilter/mailfilter-0.8.1.ebuild,v 1.2 2008/05/31 10:27:03 tove Exp $ + +inherit eutils DESCRIPTION="Mailfilter is a utility to get rid of unwanted spam mails" -HOMEPAGE="http://mailfilter.sourceforge.net/index.html" +HOMEPAGE="http://mailfilter.sourceforge.net/" SRC_URI="mirror://sourceforge/mailfilter/${P}.tar.gz" LICENSE="GPL-2" @@ -11,6 +13,15 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" IUSE="" +DEPEND="sys-devel/flex" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PV}-gcc43.patch +} + src_install() { emake DESTDIR="${D}" install || die "make install failed" dodoc INSTALL doc/FAQ "${FILESDIR}"/rcfile.example{1,2} \ |