summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-08-21 07:03:42 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-08-21 07:03:42 +0000
commit1ee09be42bc0005212ff14626a9f0263e6023c13 (patch)
tree66b11662945da9568592ea429d8fcfb2f1709801 /games-action
parentfixup DESCRIPTION as pointed out by Christian 'Opfer' Faulhammer (diff)
downloadgentoo-2-1ee09be42bc0005212ff14626a9f0263e6023c13.tar.gz
gentoo-2-1ee09be42bc0005212ff14626a9f0263e6023c13.tar.bz2
gentoo-2-1ee09be42bc0005212ff14626a9f0263e6023c13.zip
Add patch from Tristan Heaven to enable poopmup to work with freeglut (bug #132103)
(Portage version: 2.1.1_pre5-r2)
Diffstat (limited to 'games-action')
-rw-r--r--games-action/poopmup/ChangeLog7
-rw-r--r--games-action/poopmup/files/digest-poopmup-1.22
-rw-r--r--games-action/poopmup/files/poopmup-1.2-freeglut.patch10
-rw-r--r--games-action/poopmup/poopmup-1.2.ebuild6
4 files changed, 22 insertions, 3 deletions
diff --git a/games-action/poopmup/ChangeLog b/games-action/poopmup/ChangeLog
index d950bcd8041a..5c86779c0f81 100644
--- a/games-action/poopmup/ChangeLog
+++ b/games-action/poopmup/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-action/poopmup
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/poopmup/ChangeLog,v 1.9 2006/03/25 01:50:15 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/poopmup/ChangeLog,v 1.10 2006/08/21 07:03:42 mr_bones_ Exp $
+
+ 21 Aug 2006; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/poopmup-1.2-freeglut.patch, poopmup-1.2.ebuild:
+ Add patch from Tristan Heaven to enable poopmup to work with freeglut (bug
+ #132103)
25 Mar 2006; Michael Sterrett <mr_bones_@gentoo.org> poopmup-1.2.ebuild:
no need to clear screen in Makefile (bug #120907)
diff --git a/games-action/poopmup/files/digest-poopmup-1.2 b/games-action/poopmup/files/digest-poopmup-1.2
index 223fbbb541be..6e0fda8dd46b 100644
--- a/games-action/poopmup/files/digest-poopmup-1.2
+++ b/games-action/poopmup/files/digest-poopmup-1.2
@@ -1 +1,3 @@
MD5 3993259bf799aa387dfa1f2d44a87ea6 poopmup-1.2.tar.gz 1461794
+RMD160 e8efd4af5d62502b289a532ca9698eac598c915a poopmup-1.2.tar.gz 1461794
+SHA256 d2f1515c981d49e18fba6f6d7b4ab354d21def62587eab8dcb048c9eb8a7ff3b poopmup-1.2.tar.gz 1461794
diff --git a/games-action/poopmup/files/poopmup-1.2-freeglut.patch b/games-action/poopmup/files/poopmup-1.2-freeglut.patch
new file mode 100644
index 000000000000..615558963efd
--- /dev/null
+++ b/games-action/poopmup/files/poopmup-1.2-freeglut.patch
@@ -0,0 +1,10 @@
+--- poopmup.cpp
++++ poopmup.cpp
+@@ -582,6 +582,7 @@
+ getConfiguration();
+ //Will overwrite the conf file params.
+ ParseCommandLine(argc, argv);
++ glutInit(&argc, argv);
+ InitializeGL(argc, argv);
+ InitializeWorld();
+ InitMenu();
diff --git a/games-action/poopmup/poopmup-1.2.ebuild b/games-action/poopmup/poopmup-1.2.ebuild
index 1be41b7462cf..a025e8ff2959 100644
--- a/games-action/poopmup/poopmup-1.2.ebuild
+++ b/games-action/poopmup/poopmup-1.2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/poopmup/poopmup-1.2.ebuild,v 1.12 2006/03/25 01:50:15 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/poopmup/poopmup-1.2.ebuild,v 1.13 2006/08/21 07:03:41 mr_bones_ Exp $
-inherit toolchain-funcs games
+inherit eutils toolchain-funcs games
DESCRIPTION="You are now free to fly around the city and poop on passers-by"
HOMEPAGE="http://poopmup.sourceforge.net/"
@@ -33,6 +33,8 @@ src_unpack() {
sed -i \
-e '/clear/d' \
Makefile || die "sed failed" # bug #120907
+
+ epatch "${FILESDIR}/${P}-freeglut.patch"
rm -rf $(find -name CVS)
}