diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-08-17 07:13:08 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-08-17 07:13:08 +0000 |
commit | 0d47369b9698b4cfca46e2dd6955ef8505bbf65e (patch) | |
tree | 0200be1fb60829c62de029cbde46f4a9a2996c32 /games-fps | |
parent | Version bump to 1.0.1, bug 331811. (diff) | |
download | gentoo-2-0d47369b9698b4cfca46e2dd6955ef8505bbf65e.tar.gz gentoo-2-0d47369b9698b4cfca46e2dd6955ef8505bbf65e.tar.bz2 gentoo-2-0d47369b9698b4cfca46e2dd6955ef8505bbf65e.zip |
work around buggy video driver (bug #326837) - sed patch from Jared
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/rtcw/ChangeLog | 5 | ||||
-rw-r--r-- | games-fps/rtcw/rtcw-1.41b.ebuild | 12 |
2 files changed, 14 insertions, 3 deletions
diff --git a/games-fps/rtcw/ChangeLog b/games-fps/rtcw/ChangeLog index 61a90a7b0cd7..5f79bffb9005 100644 --- a/games-fps/rtcw/ChangeLog +++ b/games-fps/rtcw/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-fps/rtcw # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/rtcw/ChangeLog,v 1.35 2010/02/11 23:50:54 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/rtcw/ChangeLog,v 1.36 2010/08/17 07:13:08 mr_bones_ Exp $ + + 17 Aug 2010; Michael Sterrett <mr_bones_@gentoo.org> rtcw-1.41b.ebuild: + work around buggy video driver (bug #326837) - sed patch from Jared 11 Feb 2010; Michael Sterrett <mr_bones_@gentoo.org> rtcw-1.41b.ebuild: EAPI=2; minor tidying; URI patch from Jon (bug #244581) diff --git a/games-fps/rtcw/rtcw-1.41b.ebuild b/games-fps/rtcw/rtcw-1.41b.ebuild index ca9ca4cf8c63..f9bb512dede9 100644 --- a/games-fps/rtcw/rtcw-1.41b.ebuild +++ b/games-fps/rtcw/rtcw-1.41b.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/rtcw/rtcw-1.41b.ebuild,v 1.11 2010/02/11 23:51:32 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/rtcw/rtcw-1.41b.ebuild,v 1.12 2010/08/17 07:13:08 mr_bones_ Exp $ EAPI=2 inherit eutils games @@ -56,11 +56,19 @@ src_install() { games_make_wrapper rtcwmp ./wolf.x86 "${dir}" "${dir}" games_make_wrapper rtcwsp ./wolfsp.x86 "${dir}" "${dir}" + # work around buggy video driver (bug #326837) + sed -i \ + -e 's/^exec /__GL_ExtensionStringVersion=17700 exec /' \ + "${D}/${GAMES_BINDIR}/rtcwsp" \ + || die if use dedicated; then games_make_wrapper wolf-ded ./wolfded.x86 "${dir}" "${dir}" newinitd "${FILESDIR}"/wolf-ded.rc wolf-ded - dosed "s:GENTOO_DIR:${dir}:" /etc/init.d/wolf-ded + sed -i \ + -e "s:GENTOO_DIR:${dir}:" \ + "${D}"/etc/init.d/wolf-ded \ + || die fi insinto ${dir} |