summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-06-22 15:34:49 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-06-22 15:34:49 +0000
commitcd351ddbf3d8fc01697c79947bf85eb4aaa8260e (patch)
tree73a700c570d0b5cea9b9aeeb185796852f00f330 /games-emulation/fakenes
parentremove old (diff)
downloadgentoo-2-cd351ddbf3d8fc01697c79947bf85eb4aaa8260e.tar.gz
gentoo-2-cd351ddbf3d8fc01697c79947bf85eb4aaa8260e.tar.bz2
gentoo-2-cd351ddbf3d8fc01697c79947bf85eb4aaa8260e.zip
Fix underlink. Bug #371741
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'games-emulation/fakenes')
-rw-r--r--games-emulation/fakenes/ChangeLog6
-rw-r--r--games-emulation/fakenes/fakenes-0.5.8-r1.ebuild5
-rw-r--r--games-emulation/fakenes/files/fakenes-0.5.8-underlink.patch8
3 files changed, 16 insertions, 3 deletions
diff --git a/games-emulation/fakenes/ChangeLog b/games-emulation/fakenes/ChangeLog
index 4b3c7037a889..d46b68736bfd 100644
--- a/games-emulation/fakenes/ChangeLog
+++ b/games-emulation/fakenes/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/fakenes
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/fakenes/ChangeLog,v 1.19 2011/03/26 17:27:07 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fakenes/ChangeLog,v 1.20 2011/06/22 15:34:48 tupone Exp $
+
+ 22 Jun 2011; Tupone Alfredo <tupone@gentoo.org> fakenes-0.5.8-r1.ebuild,
+ +files/fakenes-0.5.8-underlink.patch:
+ Fix underlink. Bug #371741 by Diego Elio Pettenò
26 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> fakenes-0.5.8-r1.ebuild:
Pin media-libs/allegro to old version.
diff --git a/games-emulation/fakenes/fakenes-0.5.8-r1.ebuild b/games-emulation/fakenes/fakenes-0.5.8-r1.ebuild
index f04e4194cc95..3cac57654ea0 100644
--- a/games-emulation/fakenes/fakenes-0.5.8-r1.ebuild
+++ b/games-emulation/fakenes/fakenes-0.5.8-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/fakenes/fakenes-0.5.8-r1.ebuild,v 1.4 2011/03/26 17:27:07 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fakenes/fakenes-0.5.8-r1.ebuild,v 1.5 2011/06/22 15:34:48 tupone Exp $
EAPI=2
inherit eutils flag-o-matic toolchain-funcs games
@@ -32,6 +32,7 @@ src_prepare() {
sed -i \
-e "s:LIBAGL = agl:LIBAGL = alleggl:" \
build/alleggl.cbd || die
+ epatch "${FILESDIR}"/${P}-underlink.patch
}
src_compile() {
@@ -45,7 +46,7 @@ src_compile() {
use opengl || myconf="$myconf -alleggl"
use zlib || myconf="$myconf -zlib"
- ./cbuild ${myconf} || die "cbuild failed"
+ ./cbuild ${myconf} --verbose || die "cbuild failed"
}
src_install() {
diff --git a/games-emulation/fakenes/files/fakenes-0.5.8-underlink.patch b/games-emulation/fakenes/files/fakenes-0.5.8-underlink.patch
new file mode 100644
index 000000000000..a5f6f699fc7c
--- /dev/null
+++ b/games-emulation/fakenes/files/fakenes-0.5.8-underlink.patch
@@ -0,0 +1,8 @@
+--- build/hawknl.cbd.old 2011-06-22 17:28:16.733408930 +0200
++++ build/hawknl.cbd 2011-06-22 17:28:29.217203187 +0200
+@@ -22,4 +22,4 @@
+
+ # --
+
+-LDFLAGS += ' -lNL'
++LDFLAGS += ' -lNL -lm'