summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-10-15 01:04:17 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-10-15 01:04:17 +0000
commit1625df068c73c1aaf2d1b575294826d0dbfd55dd (patch)
tree4c134194feebb4122e469e6e526c0c0d84e1f47b /games-strategy
parentRemove old. (diff)
downloadgentoo-2-1625df068c73c1aaf2d1b575294826d0dbfd55dd.tar.gz
gentoo-2-1625df068c73c1aaf2d1b575294826d0dbfd55dd.tar.bz2
gentoo-2-1625df068c73c1aaf2d1b575294826d0dbfd55dd.zip
work around opengl issue (bug #369135)
(Portage version: 2.1.10.11/cvs/Linux i686)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/savage-bin/ChangeLog5
-rw-r--r--games-strategy/savage-bin/savage-bin-2.00e.ebuild20
2 files changed, 15 insertions, 10 deletions
diff --git a/games-strategy/savage-bin/ChangeLog b/games-strategy/savage-bin/ChangeLog
index 918e2dc671da..9170ae54e72f 100644
--- a/games-strategy/savage-bin/ChangeLog
+++ b/games-strategy/savage-bin/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-strategy/savage-bin
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/savage-bin/ChangeLog,v 1.14 2011/10/14 06:12:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/savage-bin/ChangeLog,v 1.15 2011/10/15 01:04:17 mr_bones_ Exp $
+
+ 15 Oct 2011; Michael Sterrett <mr_bones_@gentoo.org> savage-bin-2.00e.ebuild:
+ work around opengl issue (bug #369135)
14 Oct 2011; Mike Frysinger <vapier@gentoo.org> savage-bin-2.00e.ebuild:
Use a SLOT dep instead of "<" for jpeg.
diff --git a/games-strategy/savage-bin/savage-bin-2.00e.ebuild b/games-strategy/savage-bin/savage-bin-2.00e.ebuild
index ed21d3260324..a9017bf7df31 100644
--- a/games-strategy/savage-bin/savage-bin-2.00e.ebuild
+++ b/games-strategy/savage-bin/savage-bin-2.00e.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/savage-bin/savage-bin-2.00e.ebuild,v 1.13 2011/10/14 06:12:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/savage-bin/savage-bin-2.00e.ebuild,v 1.14 2011/10/15 01:04:17 mr_bones_ Exp $
EAPI=2
inherit eutils games
@@ -45,14 +45,13 @@ src_prepare() {
cp -f lin-client-auth-patch/libs/libpng12.so.0 libs/.
rm -rf lin-client-auth-patch/
rm -f graveyard/game.dll *.sh
- sed \
- -e "s:%GAMES_PREFIX_OPT%:${GAMES_PREFIX_OPT}:" \
- "${FILESDIR}"/savage > "${T}"/savage \
- || die "sed failed"
+ sed -e "s:%GAMES_PREFIX_OPT%:${GAMES_PREFIX_OPT}:" \
+ -e 's/^exec /__GL_ExtensionStringVersion=17700 exec /' \
+ "${FILESDIR}"/savage > "${T}"/savage || die
# Here, we default to the best resolution
- sed -i -e \
- 's/setsave vid_mode -1/setsave vid_mode 1/' \
- game/settings/default.cfg || die "sed failed"
+ sed -i \
+ -e 's/setsave vid_mode -1/setsave vid_mode 1/' \
+ game/settings/default.cfg || die
}
src_install() {
@@ -61,11 +60,14 @@ src_install() {
fperms g+x "${dir}"/silverback.bin || die "fperms failed"
dosym /dev/null "${dir}"/scripts.log || die "dosym failed"
- dogamesbin "${T}"/savage
+ dogamesbin "${T}"/savage || die
make_desktop_entry savage "Savage: The Battle For Newerth"
games_make_wrapper savage-graveyard "./silverback.bin set mod graveyard" \
"${dir}" "${dir}"/libs
+ sed -i \
+ -e 's/^exec /__GL_ExtensionStringVersion=17700 exec /' \
+ "${D}/${GAMES_BINDIR}/savage-graveyard" || die
make_desktop_entry savage-graveyard "Savage: Graveyard"
prepgamesdirs