summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/bitefusion')
-rw-r--r--games-arcade/bitefusion/ChangeLog8
-rw-r--r--games-arcade/bitefusion/bitefusion-1.0.1.ebuild14
-rw-r--r--games-arcade/bitefusion/files/bitefusion-1.0.1-underlink.patch11
3 files changed, 27 insertions, 6 deletions
diff --git a/games-arcade/bitefusion/ChangeLog b/games-arcade/bitefusion/ChangeLog
index 303bee1c6094..7e1b91a3d4a7 100644
--- a/games-arcade/bitefusion/ChangeLog
+++ b/games-arcade/bitefusion/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/bitefusion
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/bitefusion/ChangeLog,v 1.5 2009/11/21 17:54:16 maekke Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/bitefusion/ChangeLog,v 1.6 2011/06/20 19:15:46 tupone Exp $
+
+ 20 Jun 2011; Tupone Alfredo <tupone@gentoo.org> bitefusion-1.0.1.ebuild,
+ +files/bitefusion-1.0.1-underlink.patch:
+ Fix underlink. Bug #369773 by Diego Elio Pettenò
21 Nov 2009; Markus Meier <maekke@gentoo.org> bitefusion-1.0.1.ebuild:
x86 stable, bug #288815
diff --git a/games-arcade/bitefusion/bitefusion-1.0.1.ebuild b/games-arcade/bitefusion/bitefusion-1.0.1.ebuild
index e1daf522f277..2b956bc845b7 100644
--- a/games-arcade/bitefusion/bitefusion-1.0.1.ebuild
+++ b/games-arcade/bitefusion/bitefusion-1.0.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/bitefusion/bitefusion-1.0.1.ebuild,v 1.5 2009/11/21 17:54:16 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/bitefusion/bitefusion-1.0.1.ebuild,v 1.6 2011/06/20 19:15:46 tupone Exp $
EAPI=2
-inherit eutils games
+inherit eutils autotools games
DESCRIPTION="A snake game with 15 levels"
HOMEPAGE="http://www.junoplay.com"
@@ -17,7 +17,13 @@ IUSE=""
DEPEND="media-libs/libsdl"
# just to avoid QA notice
-PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch
+ "${FILESDIR}"/${P}-underlink.patch )
+
+src_prepare() {
+ base_src_prepare
+ eautoreconf
+}
src_install() {
dogamesbin ${PN} || die "dogamesbin failed"
diff --git a/games-arcade/bitefusion/files/bitefusion-1.0.1-underlink.patch b/games-arcade/bitefusion/files/bitefusion-1.0.1-underlink.patch
new file mode 100644
index 000000000000..7abafa1cdc3d
--- /dev/null
+++ b/games-arcade/bitefusion/files/bitefusion-1.0.1-underlink.patch
@@ -0,0 +1,11 @@
+--- Makefile.am.old 2011-06-20 21:12:16.415840052 +0200
++++ Makefile.am 2011-06-20 21:12:31.276794064 +0200
+@@ -9,7 +9,7 @@
+ bitefusion_SOURCES = main.c error.c error.h image.c images.h
+
+ if LINUX
+-bitefusion_LDADD = -lSDL -lz
++bitefusion_LDADD = -lSDL -lz -lm
+ endif
+ if WIN32
+ bitefusion_LDADD = /usr/i586-mingw32msvc/lib/libSDL.a -lgdi32 -lwsock32 -ldxguid -lwinmm -lz