summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-05-02 23:17:43 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-05-02 23:17:43 +0000
commit0fc8d0203ea19f19d5f942d002459f4a9f057526 (patch)
tree6db92fce4d6e37dfcce4a8243b8df27ffe3aa351 /games-board/xfreecell/xfreecell-1.0.5b.ebuild
parentFix building with gcc-4.3 (diff)
downloadgentoo-2-0fc8d0203ea19f19d5f942d002459f4a9f057526.tar.gz
gentoo-2-0fc8d0203ea19f19d5f942d002459f4a9f057526.tar.bz2
gentoo-2-0fc8d0203ea19f19d5f942d002459f4a9f057526.zip
Fix building with gcc-4.3
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'games-board/xfreecell/xfreecell-1.0.5b.ebuild')
-rw-r--r--games-board/xfreecell/xfreecell-1.0.5b.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/games-board/xfreecell/xfreecell-1.0.5b.ebuild b/games-board/xfreecell/xfreecell-1.0.5b.ebuild
index 6b97c20782d8..1e304801eb71 100644
--- a/games-board/xfreecell/xfreecell-1.0.5b.ebuild
+++ b/games-board/xfreecell/xfreecell-1.0.5b.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/xfreecell/xfreecell-1.0.5b.ebuild,v 1.12 2007/02/06 02:30:11 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/xfreecell/xfreecell-1.0.5b.ebuild,v 1.13 2008/05/02 23:17:43 nyhm Exp $
inherit eutils games
@@ -23,13 +23,15 @@ S=${WORKDIR}/${PN}
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}/${P}-gentoo.patch"
+ epatch \
+ "${FILESDIR}"/${P}-gentoo.patch \
+ "${FILESDIR}"/${P}-gcc43.patch
}
src_install() {
dogamesbin xfreecell || die "dogamesbin failed"
- insinto "${GAMES_DATADIR}/${PN}"
- doins "${WORKDIR}/MSNumbers" || die "doins failed"
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins "${WORKDIR}"/MSNumbers || die "doins failed"
dodoc CHANGES README mshuffle.txt
doman xfreecell.6
prepgamesdirs