summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-06-21 12:42:28 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-06-21 12:42:28 +0000
commit250ca0f3e4680787354c6d36182d71feff8dd719 (patch)
tree0664223bd1e4318a53e24dcd9e3f76a360e31c5a /games-puzzle
parentVersion bump (diff)
downloadgentoo-2-250ca0f3e4680787354c6d36182d71feff8dd719.tar.gz
gentoo-2-250ca0f3e4680787354c6d36182d71feff8dd719.tar.bz2
gentoo-2-250ca0f3e4680787354c6d36182d71feff8dd719.zip
Fix underlink. Bug #372133
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/mures/ChangeLog8
-rw-r--r--games-puzzle/mures/files/mures-0.5-underlink.patch13
-rw-r--r--games-puzzle/mures/mures-0.5.ebuild12
3 files changed, 25 insertions, 8 deletions
diff --git a/games-puzzle/mures/ChangeLog b/games-puzzle/mures/ChangeLog
index d8a350c8b57b..d39a3a1ba5f6 100644
--- a/games-puzzle/mures/ChangeLog
+++ b/games-puzzle/mures/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-puzzle/mures
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mures/ChangeLog,v 1.7 2008/06/26 17:35:26 nixnut Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mures/ChangeLog,v 1.8 2011/06/21 12:42:28 tupone Exp $
+
+ 21 Jun 2011; Tupone Alfredo <tupone@gentoo.org> mures-0.5.ebuild,
+ +files/mures-0.5-underlink.patch:
+ Fix underlink. Bug #372133 by Diego Elio Pettenò
26 Jun 2008; nixnut <nixnut@gentoo.org> mures-0.5.ebuild:
Stable on ppc wrt bug 229481
diff --git a/games-puzzle/mures/files/mures-0.5-underlink.patch b/games-puzzle/mures/files/mures-0.5-underlink.patch
new file mode 100644
index 000000000000..805cd0c7b35d
--- /dev/null
+++ b/games-puzzle/mures/files/mures-0.5-underlink.patch
@@ -0,0 +1,13 @@
+--- src/Makefile.am.old 2011-06-21 14:39:14.404333493 +0200
++++ src/Makefile.am 2011-06-21 14:39:30.538340283 +0200
+@@ -1,8 +1,8 @@
+ bin_PROGRAMS = mures
+
+ mures_LDADD = \
+- -llua -L./lua
+- $(STATIC_LIBS)
++ -llua -L./lua \
++ $(STATIC_LIBS) -lm
+
+ SUBDIRS = lua gui images maps sounds textures
+
diff --git a/games-puzzle/mures/mures-0.5.ebuild b/games-puzzle/mures/mures-0.5.ebuild
index fb930fc71c29..e5eb57170df8 100644
--- a/games-puzzle/mures/mures-0.5.ebuild
+++ b/games-puzzle/mures/mures-0.5.ebuild
@@ -1,6 +1,7 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mures/mures-0.5.ebuild,v 1.8 2008/06/26 17:35:26 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mures/mures-0.5.ebuild,v 1.9 2011/06/21 12:42:28 tupone Exp $
+EAPI=2
inherit autotools eutils games
@@ -21,10 +22,7 @@ DEPEND="media-libs/libsdl
dir=${GAMES_DATADIR}/${PN}
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
# Disable OpenGL support if USE flag is not set
if ! use opengl ; then
sed -i \
@@ -38,6 +36,8 @@ src_unpack() {
src/maps/battle/Makefile.am \
|| die "sed failed"
+ epatch "${FILESDIR}"/${P}-underlink.patch
+
eautoreconf
cd src