ppracer gcc41 fix
authorHanno Boeck <hanno@gentoo.org>
Tue, 29 Nov 2005 21:47:47 +0000 (21:47 +0000)
committerHanno Boeck <hanno@gentoo.org>
Tue, 29 Nov 2005 21:47:47 +0000 (21:47 +0000)
Package-Manager: portage-2.0.53_rc7

games-arcade/ppracer/ChangeLog
games-arcade/ppracer/Manifest
games-arcade/ppracer/files/ppracer-0.3.1-gcc41.patch [new file with mode: 0644]
games-arcade/ppracer/ppracer-0.3.1.ebuild

index 2de179edaa31fb4d17ca1a08678b2878a05688ea..e563e22dcfcb97a63d410a8cfbc445b114e5ecb5 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for games-arcade/ppracer
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/ppracer/ChangeLog,v 1.11 2005/11/14 09:58:32 herbs Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/ppracer/ChangeLog,v 1.12 2005/11/29 21:47:47 hanno Exp $
+
+  29 Nov 2005; Hanno Boeck <hanno@gentoo.org>
+  +files/ppracer-0.3.1-gcc41.patch, ppracer-0.3.1.ebuild:
+  Fix for gcc 4.1.
 
   14 Nov 2005; Herbie Hopkins <herbs@gentoo.org> ppracer-0.3.1.ebuild:
   Multilib fix
index 9e9fe06cd6cfb2c9f4139fff5c7d8e9880df1651..748b237a9de55e11564afd34fcb8b5491bd652a2 100644 (file)
@@ -1,14 +1,15 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 b0375a323673d3597efb13184ab0391e ChangeLog 1459
+MD5 aae6adf05de0d9c8a5bbbdaef6aff3be ChangeLog 1583
 MD5 ba42925d6402fbec2d9e861b53f52c99 files/digest-ppracer-0.3.1 67
+MD5 cbcd30d6a8044d6e9f5d25bea7ad38d6 files/ppracer-0.3.1-gcc41.patch 556
 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 ad00b95a6800cb91120efd13e3a869fa ppracer-0.3.1.ebuild 1241
+MD5 ca20f3dd2c240cadcd7cf91e13fea2bc ppracer-0.3.1.ebuild 1289
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (GNU/Linux)
 
-iD8DBQFDeF/W2G5bA0cA/ScRAlfdAJ4gaeYVIXxQuJbZnlrdm8qmylCFJgCg7KX0
-UGFcMftUa0omWdvq6Wt+/PM=
-=j9o2
+iD8DBQFDjMzCr2QksT29OyARAlubAJwIehIAUaxKh+HlrJD74YGJP+jVqACfdLAe
+nH0ED0PcpG2yscqxZetvGu8=
+=SU4p
 -----END PGP SIGNATURE-----
diff --git a/games-arcade/ppracer/files/ppracer-0.3.1-gcc41.patch b/games-arcade/ppracer/files/ppracer-0.3.1-gcc41.patch
new file mode 100644 (file)
index 0000000..6f5348e
--- /dev/null
@@ -0,0 +1,11 @@
+--- ppracer-0.3.1/src/ppgltk/FT/FTTextureGlyph.h       2005-02-18 11:16:04.000000000 +0100
++++ ppracer-0.3.1-gcc41/src/ppgltk/FT/FTTextureGlyph.h 2005-11-29 22:16:49.198509000 +0100
+@@ -52,7 +52,7 @@
+          * Reset the currently active texture to zero to get into a known state before
+          * drawing a string. This is to get round possible threading issues.
+          */
+-        static void FTTextureGlyph::ResetActiveTexture(){ activeTextureID = 0;}
++        static void ResetActiveTexture(){ activeTextureID = 0;}
+         
+     private:
+         /**
index d25ecf6175e2a9c289c995cdd43a4e50f106dc4c..e4a182c04c12dce643c9bf2822e637881476a25a 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/ppracer/ppracer-0.3.1.ebuild,v 1.5 2005/11/14 09:58:32 herbs Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/ppracer/ppracer-0.3.1.ebuild,v 1.6 2005/11/29 21:47:47 hanno Exp $
 
 inherit flag-o-matic gnuconfig games multilib
 
@@ -26,6 +26,9 @@ DEPEND="virtual/opengl
 src_unpack() {
        unpack ${A}
        cd "${S}"
+
+       epatch ${FILESDIR}/ppracer-0.3.1-gcc41.patch
+
        gnuconfig_update
        autoconf || die "autoconf failed"
 }