From cd351ddbf3d8fc01697c79947bf85eb4aaa8260e Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Wed, 22 Jun 2011 15:34:49 +0000 Subject: Fix underlink. Bug #371741 (Portage version: 2.1.10.3/cvs/Linux x86_64) --- games-emulation/fakenes/ChangeLog | 6 +++++- games-emulation/fakenes/fakenes-0.5.8-r1.ebuild | 5 +++-- games-emulation/fakenes/files/fakenes-0.5.8-underlink.patch | 8 ++++++++ 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 games-emulation/fakenes/files/fakenes-0.5.8-underlink.patch 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 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 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' -- cgit v1.2.3-65-gdbad