summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-06-07 17:07:22 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-06-07 17:07:22 +0000
commit3cb841fba0010a5685ad8cb7307ce99468b8b13e (patch)
tree9b8be1b6dad73ca88aa5081b5987fd4c3de97168 /games-emulation
parentStable for HPPA (bug #369403). (diff)
downloadgentoo-2-3cb841fba0010a5685ad8cb7307ce99468b8b13e.tar.gz
gentoo-2-3cb841fba0010a5685ad8cb7307ce99468b8b13e.tar.bz2
gentoo-2-3cb841fba0010a5685ad8cb7307ce99468b8b13e.zip
Fix underlink. Bug #367675
(Portage version: 2.1.10/cvs/Linux x86_64)
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/fceux/ChangeLog8
-rw-r--r--games-emulation/fceux/fceux-2.1.4a.ebuild7
-rw-r--r--games-emulation/fceux/files/fceux-2.1.4a-underlink.patch11
3 files changed, 21 insertions, 5 deletions
diff --git a/games-emulation/fceux/ChangeLog b/games-emulation/fceux/ChangeLog
index ad4878f5f363..601f675b0956 100644
--- a/games-emulation/fceux/ChangeLog
+++ b/games-emulation/fceux/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/fceux
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceux/ChangeLog,v 1.10 2010/11/29 16:01:44 tupone Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceux/ChangeLog,v 1.11 2011/06/07 17:07:22 tupone Exp $
+
+ 07 Jun 2011; Tupone Alfredo <tupone@gentoo.org> fceux-2.1.4a.ebuild,
+ +files/fceux-2.1.4a-underlink.patch:
+ Fix underlink. Bug #367675 by Diego Elio Pettenò
29 Nov 2010; Tupone Alfredo <tupone@gentoo.org> fceux-2.1.4a.ebuild,
+files/fceux-2.1.4a-ovflfix.patch:
diff --git a/games-emulation/fceux/fceux-2.1.4a.ebuild b/games-emulation/fceux/fceux-2.1.4a.ebuild
index 7f0b6b19a414..87d7dec1e976 100644
--- a/games-emulation/fceux/fceux-2.1.4a.ebuild
+++ b/games-emulation/fceux/fceux-2.1.4a.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceux/fceux-2.1.4a.ebuild,v 1.6 2010/11/29 16:01:44 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceux/fceux-2.1.4a.ebuild,v 1.7 2011/06/07 17:07:22 tupone Exp $
EAPI=2
inherit eutils scons-utils games
@@ -26,7 +26,8 @@ RDEPEND="lua? ( dev-lang/lua )
S=${WORKDIR}/fceu${PV}
src_prepare() {
- epatch "${FILESDIR}"/${P}-ovflfix.patch
+ epatch "${FILESDIR}"/${P}-ovflfix.patch \
+ "${FILESDIR}"/${P}-underlink.patch
# mentioned in bug #335836
if ! use lua ; then
sed -i -e '/_S9XLUA_H/d' SConstruct || die
diff --git a/games-emulation/fceux/files/fceux-2.1.4a-underlink.patch b/games-emulation/fceux/files/fceux-2.1.4a-underlink.patch
new file mode 100644
index 000000000000..e61fac6fff64
--- /dev/null
+++ b/games-emulation/fceux/files/fceux-2.1.4a-underlink.patch
@@ -0,0 +1,11 @@
+--- SConstruct.old 2011-06-07 18:37:31.324415039 +0200
++++ SConstruct 2011-06-07 18:42:04.804434870 +0200
+@@ -65,6 +65,8 @@
+ env.Append(CCFLAGS =["-D_GTK_LITE"])
+ if env['GTK_LITE']:
+ env.Append(CCFLAGS =["-D_GTK_LITE"])
++ env.Append(LIBS =["-lz"])
++ env.Append(LIBS =["-ldl"])
+
+ ### Lua platform defines
+ ### Applies to all files even though only lua needs it, but should be ok