summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-06-12 00:49:40 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-06-12 00:49:40 +0000
commit5df9ec8fa318e5188234b1c69212561870418076 (patch)
treeef1b60fcb666009bd0d56655426d068a672d8d56 /games-arcade
parentFixed bison problem #45121. Added hppa to KEYWORDS. (Manifest recommit) (diff)
downloadgentoo-2-5df9ec8fa318e5188234b1c69212561870418076.tar.gz
gentoo-2-5df9ec8fa318e5188234b1c69212561870418076.tar.bz2
gentoo-2-5df9ec8fa318e5188234b1c69212561870418076.zip
add patch from Guillaume Cottenceau via bug #53320
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/crack-attack/ChangeLog6
-rw-r--r--games-arcade/crack-attack/crack-attack-1.1.10.ebuild5
-rw-r--r--games-arcade/crack-attack/files/1.1.10-i865g.patch15
3 files changed, 23 insertions, 3 deletions
diff --git a/games-arcade/crack-attack/ChangeLog b/games-arcade/crack-attack/ChangeLog
index 3186b88ab050..194478d19999 100644
--- a/games-arcade/crack-attack/ChangeLog
+++ b/games-arcade/crack-attack/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/crack-attack
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/crack-attack/ChangeLog,v 1.6 2004/05/05 03:53:35 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/crack-attack/ChangeLog,v 1.7 2004/06/12 00:49:40 mr_bones_ Exp $
+
+ 11 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ crack-attack-1.1.10.ebuild, files/1.1.10-i865g.patch:
+ add patch from Guillaume Cottenceau via bug #53320
04 May 2004; Michael Sterrett <mr_bones_@gentoo.org>
crack-attack-1.1.10.ebuild, files/1.1.10-gcc34.patch:
diff --git a/games-arcade/crack-attack/crack-attack-1.1.10.ebuild b/games-arcade/crack-attack/crack-attack-1.1.10.ebuild
index 1ae53cbe5171..6e13145fca5e 100644
--- a/games-arcade/crack-attack/crack-attack-1.1.10.ebuild
+++ b/games-arcade/crack-attack/crack-attack-1.1.10.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/crack-attack/crack-attack-1.1.10.ebuild,v 1.7 2004/05/05 03:53:35 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/crack-attack/crack-attack-1.1.10.ebuild,v 1.8 2004/06/12 00:49:40 mr_bones_ Exp $
inherit eutils flag-o-matic gcc games
@@ -24,11 +24,12 @@ src_unpack() {
-e 's:-O6:@CXXFLAGS@:' src/Makefile.in \
|| die "sed src/Makefile.in failed"
epatch "${FILESDIR}/${PV}-gcc34.patch"
+ epatch "${FILESDIR}/1.1.10-i865g.patch" # bug #53320
}
src_compile() {
append-flags -DGL_GLEXT_LEGACY
- [ "`gcc-fullversion`" == "3.2.3" ] && filter-flags -march=pentium3
+ [ "$(gcc-fullversion)" == "3.2.3" ] && filter-flags -march=pentium3
egamesconf || die
emake || die "emake failed"
}
diff --git a/games-arcade/crack-attack/files/1.1.10-i865g.patch b/games-arcade/crack-attack/files/1.1.10-i865g.patch
new file mode 100644
index 000000000000..8dbd99e67f08
--- /dev/null
+++ b/games-arcade/crack-attack/files/1.1.10-i865g.patch
@@ -0,0 +1,15 @@
+--- src/obj_block.cxx.orig 2004-06-11 16:53:45.000000000 -0700
++++ src/obj_block.cxx 2004-06-11 16:55:19.000000000 -0700
+@@ -1480,6 +1480,12 @@
+ "since it segfaults\n**********" << endl;
+ return;
+ }
++ if (strstr((char*) renderer, "865G 20021115")) {
++ cerr << "**********\nWARNING:"
++ "disabling call to 1d texturing on 865G 20021115 renderer "
++ "since it segfaults\n**********" << endl;
++ return;
++ }
+
+ glTexImage1D(GL_TEXTURE_1D, 0, GL_LUMINANCE, 32, GL_FALSE, GL_LUMINANCE,
+ GL_UNSIGNED_BYTE, texture);