summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-10 08:25:04 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-10 08:25:04 +0000
commit78ef371ae1faae3c8ab16c82fd9675bda8f46054 (patch)
treedb50c329928b66bcdc1ffd743660b66ea6afc9a9 /mail-filter/mapson
parentFix building with GCC 4.4+ wrt #275126. (diff)
downloadgentoo-2-78ef371ae1faae3c8ab16c82fd9675bda8f46054.tar.gz
gentoo-2-78ef371ae1faae3c8ab16c82fd9675bda8f46054.tar.bz2
gentoo-2-78ef371ae1faae3c8ab16c82fd9675bda8f46054.zip
Fix building with GCC 4.3+ wrt #277151.
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter/mapson')
-rw-r--r--mail-filter/mapson/ChangeLog6
-rw-r--r--mail-filter/mapson/files/mapson-3.0-gcc43-tests.patch9
-rw-r--r--mail-filter/mapson/mapson-3.0.ebuild13
3 files changed, 21 insertions, 7 deletions
diff --git a/mail-filter/mapson/ChangeLog b/mail-filter/mapson/ChangeLog
index bf3626fb8ad7..fe7fcac8dc92 100644
--- a/mail-filter/mapson/ChangeLog
+++ b/mail-filter/mapson/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-filter/mapson
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/mapson/ChangeLog,v 1.6 2009/01/22 22:29:45 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/mapson/ChangeLog,v 1.7 2009/08/10 08:25:04 ssuominen Exp $
+
+ 10 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> mapson-3.0.ebuild,
+ +files/mapson-3.0-gcc43-tests.patch:
+ Fix building with GCC 4.3+ wrt #277151.
22 Jan 2009; Mark Loeser <halcy0n@gentoo.org>
+files/mapson-3.0-gcc43.patch, mapson-3.0.ebuild:
diff --git a/mail-filter/mapson/files/mapson-3.0-gcc43-tests.patch b/mail-filter/mapson/files/mapson-3.0-gcc43-tests.patch
new file mode 100644
index 000000000000..398cdcc07597
--- /dev/null
+++ b/mail-filter/mapson/files/mapson-3.0-gcc43-tests.patch
@@ -0,0 +1,9 @@
+diff -ur mapson-3.0.orig/libvarexp/tests/expand-character-class.cc mapson-3.0/libvarexp/tests/expand-character-class.cc
+--- mapson-3.0.orig/libvarexp/tests/expand-character-class.cc 2004-06-21 22:47:23.000000000 +0300
++++ mapson-3.0/libvarexp/tests/expand-character-class.cc 2009-08-10 11:25:49.000000000 +0300
+@@ -1,4 +1,5 @@
+ #include <cstdio>
++#include <cstring>
+ #include "../internal.hh"
+ using namespace varexp;
+ using namespace varexp::internal;
diff --git a/mail-filter/mapson/mapson-3.0.ebuild b/mail-filter/mapson/mapson-3.0.ebuild
index 103f1f9bd924..4f1394ee7c30 100644
--- a/mail-filter/mapson/mapson-3.0.ebuild
+++ b/mail-filter/mapson/mapson-3.0.ebuild
@@ -1,25 +1,26 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/mapson/mapson-3.0.ebuild,v 1.6 2009/01/22 22:29:45 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/mapson/mapson-3.0.ebuild,v 1.7 2009/08/10 08:25:04 ssuominen Exp $
inherit eutils
DESCRIPTION="A challenge/response-based white-list spam filter"
HOMEPAGE="http://mapson.sourceforge.net/"
SRC_URI="mirror://sourceforge/mapson/${P}.tar.gz"
+
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="ppc x86"
-
+KEYWORDS="~amd64 ppc x86"
IUSE="debug"
-DEPEND="virtual/libc
- virtual/mta"
+
+RDEPEND="virtual/mta"
+DEPEND="${RDEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
-
epatch "${FILESDIR}"/${P}-gcc43.patch
+ epatch "${FILESDIR}"/${P}-gcc43-tests.patch
}
src_compile() {