summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2013-02-19 17:05:44 +0000
committerRyan Hill <dirtyepic@gentoo.org>2013-02-19 17:05:44 +0000
commit8fabed3007c6f29f9f54be883976108abc32f5f7 (patch)
tree672d11c6bbba08850ad7557fc58a54e2f95eab05 /dev-libs/libevocosm/libevocosm-3.3.1.ebuild
parentAdd initial version (diff)
downloadgentoo-2-8fabed3007c6f29f9f54be883976108abc32f5f7.tar.gz
gentoo-2-8fabed3007c6f29f9f54be883976108abc32f5f7.tar.bz2
gentoo-2-8fabed3007c6f29f9f54be883976108abc32f5f7.zip
Fix build with GCC 4.7 (bug #421607).
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 957A8463)
Diffstat (limited to 'dev-libs/libevocosm/libevocosm-3.3.1.ebuild')
-rw-r--r--dev-libs/libevocosm/libevocosm-3.3.1.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-libs/libevocosm/libevocosm-3.3.1.ebuild b/dev-libs/libevocosm/libevocosm-3.3.1.ebuild
index 585e10afbaa0..86740b0bebce 100644
--- a/dev-libs/libevocosm/libevocosm-3.3.1.ebuild
+++ b/dev-libs/libevocosm/libevocosm-3.3.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevocosm/libevocosm-3.3.1.ebuild,v 1.1 2009/04/25 22:25:49 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevocosm/libevocosm-3.3.1.ebuild,v 1.2 2013/02/19 17:05:43 dirtyepic Exp $
inherit eutils
@@ -17,6 +17,12 @@ RDEPEND="dev-libs/libcoyotl
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc47.patch
+}
+
src_compile() {
ac_cv_prog_HAVE_DOXYGEN="false" econf || die "econf failed"
emake || die "emake failed"