summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tomka@gentoo.org>2012-06-30 02:06:45 +0000
committerThomas Kahle <tomka@gentoo.org>2012-06-30 02:06:45 +0000
commit6dff701bc671a99e372ca8e5a6b196b1f290e26b (patch)
tree50d0dfc418b1164b8cb8c4e0315079e1de804b7e /sci-mathematics/gfan/gfan-0.5.ebuild
parentVersion bump in the stable tree (diff)
downloadgentoo-2-6dff701bc671a99e372ca8e5a6b196b1f290e26b.tar.gz
gentoo-2-6dff701bc671a99e372ca8e5a6b196b1f290e26b.tar.bz2
gentoo-2-6dff701bc671a99e372ca8e5a6b196b1f290e26b.zip
Fix double declare (for gcc-4.7) in bug 424099
(Portage version: 2.1.11.3/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics/gfan/gfan-0.5.ebuild')
-rw-r--r--sci-mathematics/gfan/gfan-0.5.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/sci-mathematics/gfan/gfan-0.5.ebuild b/sci-mathematics/gfan/gfan-0.5.ebuild
index dd9a24914c35..4f1ed07d1241 100644
--- a/sci-mathematics/gfan/gfan-0.5.ebuild
+++ b/sci-mathematics/gfan/gfan-0.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gfan/gfan-0.5.ebuild,v 1.6 2011/12/14 09:00:45 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gfan/gfan-0.5.ebuild,v 1.7 2012/06/30 02:06:45 tomka Exp $
EAPI="3"
@@ -22,6 +22,7 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}${PV}/"
src_prepare () {
+ epatch "${FILESDIR}/${P}-double-declare-fix.patch"
sed -i -e "s/-O2/${CXXFLAGS}/" \
-e "/GPROFFLAG =/d" \
-e "s/g++/$(tc-getCXX)/" \