summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2014-10-29 12:49:58 +0000
committerAlfredo Tupone <tupone@gentoo.org>2014-10-29 12:49:58 +0000
commit6f271e6f6e6785ed82b823a7a1b5bdfa5d69ab59 (patch)
treebfbfd4ab56bf187816fe100b4d15b9af0ce031c3 /games-strategy/warzone2100
parentkeyword ~arm (diff)
downloadgentoo-2-6f271e6f6e6785ed82b823a7a1b5bdfa5d69ab59.tar.gz
gentoo-2-6f271e6f6e6785ed82b823a7a1b5bdfa5d69ab59.tar.bz2
gentoo-2-6f271e6f6e6785ed82b823a7a1b5bdfa5d69ab59.zip
Fix Bug #523876
(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0145142D)
Diffstat (limited to 'games-strategy/warzone2100')
-rw-r--r--games-strategy/warzone2100/ChangeLog6
-rw-r--r--games-strategy/warzone2100/files/warzone2100-3.1.1-openGL.patch11
-rw-r--r--games-strategy/warzone2100/warzone2100-3.1.1.ebuild5
3 files changed, 19 insertions, 3 deletions
diff --git a/games-strategy/warzone2100/ChangeLog b/games-strategy/warzone2100/ChangeLog
index 6b5a1c37f1d7..afa7a70b5946 100644
--- a/games-strategy/warzone2100/ChangeLog
+++ b/games-strategy/warzone2100/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-strategy/warzone2100
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.86 2014/08/10 07:04:01 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.87 2014/10/29 12:49:58 tupone Exp $
+
+ 29 Oct 2014; Alfredo Tupone <tupone@gentoo.org> warzone2100-3.1.1.ebuild,
+ +files/warzone2100-3.1.1-openGL.patch:
+ Fix Bug #523876 by Lars Wendler (Polynomial-C)
10 Aug 2014; Michael Sterrett <mr_bones_@gentoo.org> warzone2100-3.1.1.ebuild:
tidy deps (bug #519486(
diff --git a/games-strategy/warzone2100/files/warzone2100-3.1.1-openGL.patch b/games-strategy/warzone2100/files/warzone2100-3.1.1-openGL.patch
new file mode 100644
index 000000000000..568510eb7265
--- /dev/null
+++ b/games-strategy/warzone2100/files/warzone2100-3.1.1-openGL.patch
@@ -0,0 +1,11 @@
+--- lib/ivis_opengl/screen.cpp.old 2014-10-29 13:45:01.516359163 +0100
++++ lib/ivis_opengl/screen.cpp 2014-10-29 13:45:42.743968030 +0100
+@@ -261,7 +261,7 @@
+ __glewUseProgram = __glewUseProgramObjectARB;
+ __glewGetShaderiv = __glewGetObjectParameterivARB;
+ __glewLinkProgram = __glewLinkProgramARB;
+- __glewShaderSource = __glewShaderSourceARB;
++ __glewShaderSource = (PFNGLSHADERSOURCEPROC)__glewShaderSourceARB;
+ __glewUniform1f = __glewUniform1fARB;
+ __glewUniform1i = __glewUniform1iARB;
+ __glewUniform4fv = __glewUniform4fvARB;
diff --git a/games-strategy/warzone2100/warzone2100-3.1.1.ebuild b/games-strategy/warzone2100/warzone2100-3.1.1.ebuild
index fe506380373a..a1a7c40572d8 100644
--- a/games-strategy/warzone2100/warzone2100-3.1.1.ebuild
+++ b/games-strategy/warzone2100/warzone2100-3.1.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/warzone2100-3.1.1.ebuild,v 1.3 2014/08/10 07:04:01 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/warzone2100-3.1.1.ebuild,v 1.4 2014/10/29 12:49:58 tupone Exp $
EAPI=5
inherit autotools toolchain-funcs eutils versionator gnome2-utils games
@@ -55,7 +55,8 @@ src_prepare() {
-e 's/#top_builddir/top_builddir/' \
po/Makevars || die
- epatch "${FILESDIR}"/${P}-pkgconf.patch
+ epatch "${FILESDIR}"/${P}-pkgconf.patch \
+ "${FILESDIR}"/${P}-openGL.patch
eautoreconf
}