summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-10 12:00:18 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-10 12:00:18 +0000
commit7bb42324146837e9aff916bd3538415c575d42c0 (patch)
tree7db17aaa6c107e7392734697a9cfdf6ae4eea15f /app-emulation/hercules/hercules-3.06.ebuild
parentMight as well tackle repoman issues too. (diff)
downloadgentoo-2-7bb42324146837e9aff916bd3538415c575d42c0.tar.gz
gentoo-2-7bb42324146837e9aff916bd3538415c575d42c0.tar.bz2
gentoo-2-7bb42324146837e9aff916bd3538415c575d42c0.zip
Fix building with GCC 4.4+ wrt #278068.
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/hercules/hercules-3.06.ebuild')
-rw-r--r--app-emulation/hercules/hercules-3.06.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/app-emulation/hercules/hercules-3.06.ebuild b/app-emulation/hercules/hercules-3.06.ebuild
index a31896978f01..28667f248d09 100644
--- a/app-emulation/hercules/hercules-3.06.ebuild
+++ b/app-emulation/hercules/hercules-3.06.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/hercules/hercules-3.06.ebuild,v 1.3 2009/01/11 11:05:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/hercules/hercules-3.06.ebuild,v 1.4 2009/08/10 12:00:18 ssuominen Exp $
inherit eutils flag-o-matic
@@ -17,6 +17,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-build.patch
+ epatch "${FILESDIR}"/${P}-gcc44.patch
sed -i \
-e 's:@modexecdir@:$(libdir)/$(PACKAGE):' \
-e '/^AM_CPPFLAGS/s:=:= -DMODULESDIR=\\"$(modexecdir)\\" :' \