summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2009-11-05 08:15:11 +0000
committerAlfredo Tupone <tupone@gentoo.org>2009-11-05 08:15:11 +0000
commitb995cbb7a95243b13f7a2aa9211a675dcad7e1b1 (patch)
tree6d3a1f1be25af295a2e52c0fd16b7cf85dc0542a /games-simulation/simutrans
parentadded multilib patch wrt bug #283936 (diff)
downloadgentoo-2-b995cbb7a95243b13f7a2aa9211a675dcad7e1b1.tar.gz
gentoo-2-b995cbb7a95243b13f7a2aa9211a675dcad7e1b1.tar.bz2
gentoo-2-b995cbb7a95243b13f7a2aa9211a675dcad7e1b1.zip
Fix compilation on amd64. Bug #291285
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'games-simulation/simutrans')
-rw-r--r--games-simulation/simutrans/ChangeLog5
-rw-r--r--games-simulation/simutrans/simutrans-0.102.2.ebuild5
2 files changed, 8 insertions, 2 deletions
diff --git a/games-simulation/simutrans/ChangeLog b/games-simulation/simutrans/ChangeLog
index cb05776782af..335cfd5801b2 100644
--- a/games-simulation/simutrans/ChangeLog
+++ b/games-simulation/simutrans/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-simulation/simutrans
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/simutrans/ChangeLog,v 1.20 2009/10/29 06:38:12 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/simutrans/ChangeLog,v 1.21 2009/11/05 08:15:11 tupone Exp $
+
+ 05 Nov 2009; Alfredo Tupone <tupone@gentoo.org> simutrans-0.102.2.ebuild:
+ Fix compilation on amd64. Bug #291285 by Oliver Put
29 Oct 2009; Michael Sterrett <mr_bones_@gentoo.org>
-simutrans-0.88.10.5.ebuild, +simutrans-0.102.2.ebuild:
diff --git a/games-simulation/simutrans/simutrans-0.102.2.ebuild b/games-simulation/simutrans/simutrans-0.102.2.ebuild
index 7251f718f24f..77aea79249fa 100644
--- a/games-simulation/simutrans/simutrans-0.102.2.ebuild
+++ b/games-simulation/simutrans/simutrans-0.102.2.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/games-simulation/simutrans/simutrans-0.102.2.ebuild,v 1.1 2009/10/29 06:38:12 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/simutrans/simutrans-0.102.2.ebuild,v 1.2 2009/11/05 08:15:11 tupone Exp $
EAPI=2
inherit eutils games
@@ -34,6 +34,9 @@ OSTYPE=linux
FLAGS=-DSTEPS16" > config.default \
|| die "echo failed"
+ if use amd64; then
+ echo "FLAGS+=-DUSE_C" >> config.default
+ fi
# make it look in the install location for the data
sed -i \
-e "s:argv\[0\]:\"${GAMES_DATADIR}/${PN}/\":" \