summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2004-09-03 23:50:46 +0000
committerSven Wegener <swegener@gentoo.org>2004-09-03 23:50:46 +0000
commitcf72acda0fc7736173cd83084daa67edaa468f6a (patch)
treec3421356de404f6d8fc237a83c3ea186a46ec3dc /games-emulation/darcnes/darcnes-0401-r2.ebuild
parentKeyword modification, see changelog for details (Manifest recommit) (diff)
downloadgentoo-2-cf72acda0fc7736173cd83084daa67edaa468f6a.tar.gz
gentoo-2-cf72acda0fc7736173cd83084daa67edaa468f6a.tar.bz2
gentoo-2-cf72acda0fc7736173cd83084daa67edaa468f6a.zip
Fixed compilation errors with gcc-3.4. Thanks to Anthony Mirabella <mirabeaj@notes.udayton.edu> and Bjarke Istrup Pedersen <Bjarke.ip@tekpunkt.dk> in bug #58718.
Diffstat (limited to 'games-emulation/darcnes/darcnes-0401-r2.ebuild')
-rw-r--r--games-emulation/darcnes/darcnes-0401-r2.ebuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/games-emulation/darcnes/darcnes-0401-r2.ebuild b/games-emulation/darcnes/darcnes-0401-r2.ebuild
index 82d0058a7996..b8d8ceec9292 100644
--- a/games-emulation/darcnes/darcnes-0401-r2.ebuild
+++ b/games-emulation/darcnes/darcnes-0401-r2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/darcnes/darcnes-0401-r2.ebuild,v 1.5 2004/06/24 22:25:15 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/darcnes/darcnes-0401-r2.ebuild,v 1.6 2004/09/03 23:50:46 swegener Exp $
-inherit games
+inherit games eutils
DESCRIPTION="A multi-system emulator"
HOMEPAGE="http://www.dridus.com/~nyef/darcnes/"
@@ -29,6 +29,13 @@ pkg_setup() {
use X && build_X=true
}
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-gcc34.patch
+}
+
src_compile() {
if use svga ; then
emake TARGET=Linux_svgalib OPTFLAGS="${CFLAGS}" || \