summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Levine <plevine457@gmail.com>2017-05-21 15:23:33 -0400
committerDavid Seifert <soap@gentoo.org>2017-05-26 22:58:17 +0200
commit2fa577ac669729cbad4233e54d97185b2705e4d1 (patch)
tree9577fa48b8a74ab6fe70af497dfcede0641a4777 /mail-filter/mapson/mapson-3.3.ebuild
parentmedia-libs/libfpx: Fix building with GCC-6 (diff)
downloadgentoo-2fa577ac669729cbad4233e54d97185b2705e4d1.tar.gz
gentoo-2fa577ac669729cbad4233e54d97185b2705e4d1.tar.bz2
gentoo-2fa577ac669729cbad4233e54d97185b2705e4d1.zip
mail-filter/mapson: Fix building with GCC-6
Bug: https://bugs.gentoo.org/show_bug.cgi?id=594382 Package-Manager: Portage-2.3.5, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/4690
Diffstat (limited to 'mail-filter/mapson/mapson-3.3.ebuild')
-rw-r--r--mail-filter/mapson/mapson-3.3.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/mail-filter/mapson/mapson-3.3.ebuild b/mail-filter/mapson/mapson-3.3.ebuild
index 99a0464b6fb1..5c6ce7bac660 100644
--- a/mail-filter/mapson/mapson-3.3.ebuild
+++ b/mail-filter/mapson/mapson-3.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
@@ -16,6 +16,10 @@ IUSE="debug"
RDEPEND="virtual/mta"
DEPEND="${RDEPEND}"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc6.patch
+}
+
src_configure() {
econf $(use_with debug)
}