summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-04-11 00:54:28 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-04-11 00:54:28 +0000
commitd7f7958398e246b1d719b2a4765292edd799404f (patch)
tree06724adc39b81e882bb7c18ae83dee89d3f31903 /games-action
parentversion bump (diff)
downloadgentoo-2-d7f7958398e246b1d719b2a4765292edd799404f.tar.gz
gentoo-2-d7f7958398e246b1d719b2a4765292edd799404f.tar.bz2
gentoo-2-d7f7958398e246b1d719b2a4765292edd799404f.zip
Add patch from Andrew Savchenko to build against newer mesa versions (bug #288340)
(Portage version: 2.1.7.17/cvs/Linux i686)
Diffstat (limited to 'games-action')
-rw-r--r--games-action/openastromenace/ChangeLog9
-rw-r--r--games-action/openastromenace/files/openastromenace-1.2.0-mesa.patch10
-rw-r--r--games-action/openastromenace/openastromenace-1.2.0.ebuild8
3 files changed, 22 insertions, 5 deletions
diff --git a/games-action/openastromenace/ChangeLog b/games-action/openastromenace/ChangeLog
index 3034f6bb5300..cd1e073aafa3 100644
--- a/games-action/openastromenace/ChangeLog
+++ b/games-action/openastromenace/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-action/openastromenace
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/openastromenace/ChangeLog,v 1.7 2009/12/17 21:54:45 pacho Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/openastromenace/ChangeLog,v 1.8 2010/04/11 00:54:28 mr_bones_ Exp $
+
+ 11 Apr 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ openastromenace-1.2.0.ebuild, +files/openastromenace-1.2.0-mesa.patch:
+ Add patch from Andrew Savchenko to build against newer mesa versions (bug
+ #288340)
17 Dec 2009; Pacho Ramos <pacho@gentoo.org> openastromenace-1.2.0.ebuild:
amd64 stable, bug 295711
diff --git a/games-action/openastromenace/files/openastromenace-1.2.0-mesa.patch b/games-action/openastromenace/files/openastromenace-1.2.0-mesa.patch
new file mode 100644
index 000000000000..c3b7ef10c571
--- /dev/null
+++ b/games-action/openastromenace/files/openastromenace-1.2.0-mesa.patch
@@ -0,0 +1,10 @@
+--- OpenAstroMenaceSVN/AstroMenaceSource/Core/RendererInterface/RendererInterface.h.orig 2007-09-15 12:26:47.000000000 +0400
++++ OpenAstroMenaceSVN/AstroMenaceSource/Core/RendererInterface/RendererInterface.h 2009-12-01 23:21:23.551205491 +0300
+@@ -37,6 +37,7 @@
+ #include "../Base.h"
+ #include "../Math/Math.h"
+ #include "../Texture/Texture.h"
++#define PFNGLCLIENTACTIVETEXTUREPROC PFNGLACTIVETEXTUREPROC
+
+
+
diff --git a/games-action/openastromenace/openastromenace-1.2.0.ebuild b/games-action/openastromenace/openastromenace-1.2.0.ebuild
index ae9418e8a7fb..81c1dba37548 100644
--- a/games-action/openastromenace/openastromenace-1.2.0.ebuild
+++ b/games-action/openastromenace/openastromenace-1.2.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/openastromenace/openastromenace-1.2.0.ebuild,v 1.7 2009/12/17 21:54:45 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/openastromenace/openastromenace-1.2.0.ebuild,v 1.8 2010/04/11 00:54:28 mr_bones_ Exp $
EAPI=2
inherit flag-o-matic cmake-utils eutils games
@@ -32,7 +32,9 @@ DEPEND="virtual/opengl
S=${WORKDIR}/OpenAstroMenaceSVN
src_prepare() {
- epatch "${FILESDIR}"/${P}-cmake.patch
+ epatch \
+ "${FILESDIR}"/${P}-cmake.patch \
+ "${FILESDIR}"/${P}-mesa.patch
if use linguas_en ; then
einfo "Picking en for language set"
mv ../gamelang_en.vfs ../gamelang.vfs