summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2014-04-22 05:48:46 +0000
committerFabian Groffen <grobian@gentoo.org>2014-04-22 05:48:46 +0000
commitb6d29abcd9292e0d817b295c2d7db829e5746986 (patch)
tree0fead0f84631236a953e4ec80454d3d4eaa06d31 /mail-filter
parentadd missing DEPEND dep (diff)
downloadgentoo-2-b6d29abcd9292e0d817b295c2d7db829e5746986.tar.gz
gentoo-2-b6d29abcd9292e0d817b295c2d7db829e5746986.tar.bz2
gentoo-2-b6d29abcd9292e0d817b295c2d7db829e5746986.zip
Fix build using GCC 4.7, thanks Denis Kaganovich in bug #466552
(Portage version: 2.2.8-prefix/cvs/Darwin i386, signed Manifest commit with key 0x5F75F607C5C74E89)
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/procmail/ChangeLog7
-rw-r--r--mail-filter/procmail/procmail-3.22-r10.ebuild7
2 files changed, 9 insertions, 5 deletions
diff --git a/mail-filter/procmail/ChangeLog b/mail-filter/procmail/ChangeLog
index 760da732db07..4ea2656954e7 100644
--- a/mail-filter/procmail/ChangeLog
+++ b/mail-filter/procmail/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for mail-filter/procmail
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/procmail/ChangeLog,v 1.48 2011/06/08 13:04:39 eras Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/procmail/ChangeLog,v 1.49 2014/04/22 05:48:46 grobian Exp $
+
+ 22 Apr 2014; Fabian Groffen <grobian@gentoo.org> procmail-3.22-r10.ebuild:
+ Fix build using GCC 4.7, thanks Denis Kaganovich in bug #466552
08 Jun 2011; Eray Aslan <eras@gentoo.org> procmail-3.22-r10.ebuild:
Fix lockfile permissions - bug #351656
diff --git a/mail-filter/procmail/procmail-3.22-r10.ebuild b/mail-filter/procmail/procmail-3.22-r10.ebuild
index d6233bcda202..ac619f898e8f 100644
--- a/mail-filter/procmail/procmail-3.22-r10.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r10.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/procmail/procmail-3.22-r10.ebuild,v 1.12 2011/06/08 13:04:39 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/procmail/procmail-3.22-r10.ebuild,v 1.13 2014/04/22 05:48:46 grobian Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -55,7 +55,8 @@ src_unpack() {
src_compile() {
# -finline-functions (implied by -O3) leaves strstr() in an infinite loop.
# To work around this, we append -fno-inline-functions to CFLAGS
- append-flags -fno-inline-functions
+ # Since GCC 4.7 we also need -fno-ipa-cp-clone (bug #466552)
+ append-flags -fno-inline-functions -fno-ipa-cp-clone
sed -e "s:CFLAGS0 = -O:CFLAGS0 = ${CFLAGS}:" \
-e "s:LDFLAGS0= -s:LDFLAGS0 = ${LDFLAGS}:" \