summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-06-20 18:54:31 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-06-20 18:54:31 +0000
commit59c88e44f7f3ef4af7e7b6b82393d86a97bfbcbe (patch)
tree10a991ff31d232e9ef641444d6901e594f0cbd7f /games-arcade/trailblazer
parentFix underlink. Bug #369589 (diff)
downloadgentoo-2-59c88e44f7f3ef4af7e7b6b82393d86a97bfbcbe.tar.gz
gentoo-2-59c88e44f7f3ef4af7e7b6b82393d86a97bfbcbe.tar.bz2
gentoo-2-59c88e44f7f3ef4af7e7b6b82393d86a97bfbcbe.zip
Fix underlink. Bug #369757
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'games-arcade/trailblazer')
-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() {