summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-06-18 16:30:09 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-06-18 16:30:09 +0000
commit0cd7082b7b48e6474a8f36197bc86b79c738e850 (patch)
tree7ec1ab03b7a08bd6b0c0590bfa8decda94c9f2dc /games-action
parentFix doublechecking of one variable. state1 instead of state2. Could someone c... (diff)
downloadgentoo-2-0cd7082b7b48e6474a8f36197bc86b79c738e850.tar.gz
gentoo-2-0cd7082b7b48e6474a8f36197bc86b79c738e850.tar.bz2
gentoo-2-0cd7082b7b48e6474a8f36197bc86b79c738e850.zip
Fix underlink. Bug #369301
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'games-action')
-rw-r--r--games-action/bomberclone/ChangeLog8
-rw-r--r--games-action/bomberclone/bomberclone-0.11.8.ebuild13
-rw-r--r--games-action/bomberclone/files/bomberclone-0.11.8-underlink.patch20
3 files changed, 31 insertions, 10 deletions
diff --git a/games-action/bomberclone/ChangeLog b/games-action/bomberclone/ChangeLog
index eb5065889838..eddd1f505df5 100644
--- a/games-action/bomberclone/ChangeLog
+++ b/games-action/bomberclone/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-action/bomberclone
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/bomberclone/ChangeLog,v 1.30 2009/03/04 04:20:09 mr_bones_ Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/bomberclone/ChangeLog,v 1.31 2011/06/18 16:30:09 tupone Exp $
+
+ 18 Jun 2011; Tupone Alfredo <tupone@gentoo.org> bomberclone-0.11.8.ebuild,
+ +files/bomberclone-0.11.8-underlink.patch:
+ Fix underlink. Bug #369301 by Diego Elio Pettenò
04 Mar 2009; Michael Sterrett <mr_bones_@gentoo.org>
bomberclone-0.11.8.ebuild:
diff --git a/games-action/bomberclone/bomberclone-0.11.8.ebuild b/games-action/bomberclone/bomberclone-0.11.8.ebuild
index 76b6c89c0986..b47d6517cd72 100644
--- a/games-action/bomberclone/bomberclone-0.11.8.ebuild
+++ b/games-action/bomberclone/bomberclone-0.11.8.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-action/bomberclone/bomberclone-0.11.8.ebuild,v 1.7 2009/03/04 04:20:09 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/bomberclone/bomberclone-0.11.8.ebuild,v 1.8 2011/06/18 16:30:09 tupone Exp $
EAPI=2
-inherit eutils games
+inherit eutils autotools games
DESCRIPTION="BomberMan clone with network game support"
HOMEPAGE="http://www.bomberclone.de/"
@@ -21,11 +21,8 @@ DEPEND=">=media-libs/libsdl-1.1.0
src_prepare() {
ecvs_clean
- # bug #260894
- sed -i \
- -e 's/ -Werror//' \
- configure \
- || die "sed failed"
+ epatch "${FILESDIR}"/${P}-underlink.patch
+ eautoreconf
}
src_configure() {
diff --git a/games-action/bomberclone/files/bomberclone-0.11.8-underlink.patch b/games-action/bomberclone/files/bomberclone-0.11.8-underlink.patch
new file mode 100644
index 000000000000..d534df6192b6
--- /dev/null
+++ b/games-action/bomberclone/files/bomberclone-0.11.8-underlink.patch
@@ -0,0 +1,20 @@
+--- configure.in.old 2011-06-18 18:23:48.633605738 +0200
++++ configure.in 2011-06-18 18:26:26.910628408 +0200
+@@ -33,7 +33,7 @@
+ )
+
+ CFLAGS="$SDL_CFLAGS $CFLAGS"
+- LIBS="$SDL_LIBS $LIBS"
++ LIBS="$SDL_LIBS $LIBS -lm"
+
+
+ dnl Checks for header files.
+@@ -84,7 +84,7 @@
+ CFLAGS="$CFLAGS -Wall"
+ AC_MSG_WARN(Disable Warning as Error Treatment)
+ else
+- CFLAGS="$CFLAGS -Wall -Werror"
++ CFLAGS="$CFLAGS -Wall"
+ fi
+
+