From d7f7958398e246b1d719b2a4765292edd799404f Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Sun, 11 Apr 2010 00:54:28 +0000 Subject: Add patch from Andrew Savchenko to build against newer mesa versions (bug #288340) (Portage version: 2.1.7.17/cvs/Linux i686) --- games-action/openastromenace/ChangeLog | 9 +++++++-- .../openastromenace/files/openastromenace-1.2.0-mesa.patch | 10 ++++++++++ games-action/openastromenace/openastromenace-1.2.0.ebuild | 8 +++++--- 3 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 games-action/openastromenace/files/openastromenace-1.2.0-mesa.patch (limited to 'games-action') 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 + 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 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 -- cgit v1.2.3-65-gdbad