summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-11-28 07:09:55 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-11-28 07:09:55 +0000
commit6ebc5437d56dbb9960a6c9ab80ad6b109cab794d (patch)
treea327b55b51bc532cc80de873d12d986686e34f94 /games-arcade
parentpython-gudev is now in tree, so unmasking arista 0.9.5 (diff)
downloadgentoo-2-6ebc5437d56dbb9960a6c9ab80ad6b109cab794d.tar.gz
gentoo-2-6ebc5437d56dbb9960a6c9ab80ad6b109cab794d.tar.bz2
gentoo-2-6ebc5437d56dbb9960a6c9ab80ad6b109cab794d.zip
version bump
(Portage version: 2.1.9.24/cvs/Linux i686)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/bloboats/ChangeLog8
-rw-r--r--games-arcade/bloboats/bloboats-1.0.2.ebuild45
-rw-r--r--games-arcade/bloboats/files/bloboats-1.0.2-warnings.patch24
3 files changed, 76 insertions, 1 deletions
diff --git a/games-arcade/bloboats/ChangeLog b/games-arcade/bloboats/ChangeLog
index 81d78b127a32..c793cef32567 100644
--- a/games-arcade/bloboats/ChangeLog
+++ b/games-arcade/bloboats/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-arcade/bloboats
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/bloboats/ChangeLog,v 1.2 2010/10/05 20:07:08 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/bloboats/ChangeLog,v 1.3 2010/11/28 07:09:55 mr_bones_ Exp $
+
+*bloboats-1.0.2 (28 Nov 2010)
+
+ 28 Nov 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ +bloboats-1.0.2.ebuild, +files/bloboats-1.0.2-warnings.patch:
+ version bump
05 Oct 2010; Markus Meier <maekke@gentoo.org> bloboats-1.0.1.ebuild:
x86 stable, bug #339203
diff --git a/games-arcade/bloboats/bloboats-1.0.2.ebuild b/games-arcade/bloboats/bloboats-1.0.2.ebuild
new file mode 100644
index 000000000000..11bc902e51f8
--- /dev/null
+++ b/games-arcade/bloboats/bloboats-1.0.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/bloboats/bloboats-1.0.2.ebuild,v 1.1 2010/11/28 07:09:55 mr_bones_ Exp $
+
+EAPI=2
+inherit eutils games
+
+DESCRIPTION="arcade-like boat racing game combining platform jumpers and elastomania / x-moto like games"
+HOMEPAGE="http://bloboats.dy.fi/"
+SRC_URI="http://mirror.kapsi.fi/bloboats.dy.fi/${P}.tar.gz"
+
+LICENSE="GPL-2 CCPL-Sampling-Plus-1.0"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl[video]
+ media-libs/sdl-mixer[vorbis]
+ media-libs/sdl-image[png]
+ media-libs/sdl-net
+ media-libs/libvorbis"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-warnings.patch
+ sed -i \
+ -e "/PREFIX/s://:${D}:" \
+ -e "/DATADIR/s:/usr/games/bloboats/data:${GAMES_DATADIR}/${PN}:" \
+ -e "/BINARYDIR/s:/usr/bin:${GAMES_BINDIR}:" \
+ -e "/CONFIGDIR/s:/etc:${GAMES_SYSCONFDIR}:" \
+ -e "/CXXFLAGS_DEFAULT/s:-O2:${CXXFLAGS} \$(LDFLAGS):" \
+ -e "/^CXX[ _]/d" \
+ -e '/STRIP/d' \
+ Makefile \
+ || die
+}
+
+src_install() {
+ dogamesbin bin/bloboats || die
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r data/* || die
+ insinto "$GAMES_SYSCONFDIR"
+ doins bloboats.dirs || die
+ dodoc readme.txt
+ prepgamesdirs
+}
diff --git a/games-arcade/bloboats/files/bloboats-1.0.2-warnings.patch b/games-arcade/bloboats/files/bloboats-1.0.2-warnings.patch
new file mode 100644
index 000000000000..d05f2dd9bdc1
--- /dev/null
+++ b/games-arcade/bloboats/files/bloboats-1.0.2-warnings.patch
@@ -0,0 +1,24 @@
+diff -ru bloboats-1.0.2.orig/src/menu.cpp bloboats-1.0.2/src/menu.cpp
+--- bloboats-1.0.2.orig/src/menu.cpp 2010-08-25 17:55:26.000000000 -0400
++++ bloboats-1.0.2/src/menu.cpp 2010-11-28 01:19:57.664406227 -0500
+@@ -118,7 +118,7 @@
+ bool used=false;
+
+ if (fgets(nick, NICK_MAXLEN+2, fp)) {
+- if (nick && strlen(nick)>1 ) {
++ if (strlen(nick)>1 ) {
+ nick[strlen(nick)-1]='\0';
+ used=true;
+ Player[i].setnick(nick);
+diff -ru bloboats-1.0.2.orig/src/path.cpp bloboats-1.0.2/src/path.cpp
+--- bloboats-1.0.2.orig/src/path.cpp 2006-08-02 18:05:36.000000000 -0400
++++ bloboats-1.0.2/src/path.cpp 2010-11-28 01:19:19.385415683 -0500
+@@ -111,7 +111,7 @@
+ }
+
+ if (type>0) {
+- if (d2) {
++ if (*d2) {
+ char *ps = new char[p.size()+1];
+ strncpy (ps, p.c_str(), p.size()+1);
+