summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-arcade/trailblazer/ChangeLog8
-rw-r--r--games-arcade/trailblazer/files/trailblazer-0.9-underlink.patch11
-rw-r--r--games-arcade/trailblazer/trailblazer-0.9.ebuild7
3 files changed, 21 insertions, 5 deletions
diff --git a/games-arcade/trailblazer/ChangeLog b/games-arcade/trailblazer/ChangeLog
index eadc8969f567..5e82ceed14fd 100644
--- a/games-arcade/trailblazer/ChangeLog
+++ b/games-arcade/trailblazer/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/trailblazer
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/trailblazer/ChangeLog,v 1.4 2010/09/30 22:00:13 tupone Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/trailblazer/ChangeLog,v 1.5 2011/06/20 18:54:31 tupone Exp $
+
+ 20 Jun 2011; Tupone Alfredo <tupone@gentoo.org> trailblazer-0.9.ebuild,
+ +files/trailblazer-0.9-underlink.patch:
+ Fix underlink. Bug #369757 by Diego Elio Pettenò
30 Sep 2010; Tupone Alfredo <tupone@gentoo.org> trailblazer-0.9.ebuild,
+files/trailblazer-0.9-ldflags.patch:
diff --git a/games-arcade/trailblazer/files/trailblazer-0.9-underlink.patch b/games-arcade/trailblazer/files/trailblazer-0.9-underlink.patch
new file mode 100644
index 000000000000..d723fbe2eca2
--- /dev/null
+++ b/games-arcade/trailblazer/files/trailblazer-0.9-underlink.patch
@@ -0,0 +1,11 @@
+--- Makefile.old 2011-06-20 20:49:09.928013768 +0200
++++ Makefile 2011-06-20 20:49:18.725566328 +0200
+@@ -3,7 +3,7 @@
+ #
+
+ sources = game.c main.c road.c map.c gfx.c
+-libs = `sdl-config --libs`
++libs = `sdl-config --libs` -lm
+ cflags = -O2 -pipe -march=athlon64 -ggdb -Wall `sdl-config --cflags`
+ version = 0.9
+ bdir = /tmp/trailblazer-$(version)
diff --git a/games-arcade/trailblazer/trailblazer-0.9.ebuild b/games-arcade/trailblazer/trailblazer-0.9.ebuild
index 8444391ec35b..e97058b65316 100644
--- a/games-arcade/trailblazer/trailblazer-0.9.ebuild
+++ b/games-arcade/trailblazer/trailblazer-0.9.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/trailblazer/trailblazer-0.9.ebuild,v 1.4 2010/10/12 03:48:50 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/trailblazer/trailblazer-0.9.ebuild,v 1.5 2011/06/20 18:54:31 tupone Exp $
EAPI=2
inherit eutils games
@@ -25,7 +25,8 @@ src_prepare() {
-e "s:/usr/share/trailblazer/trail\.dat:${GAMES_DATADIR}/${PN}/trail.dat:" \
-e "s:/usr/share/trailblazer/trail\.time:${GAMES_STATEDIR}/trail.time:" \
map.c || die "sed map.c failed"
- epatch "${FILESDIR}"/${P}-ldflags.patch
+ epatch "${FILESDIR}"/${P}-ldflags.patch \
+ "${FILESDIR}"/${P}-underlink.patch
}
src_install() {