diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2007-11-29 03:36:28 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2007-11-29 03:36:28 +0000 |
commit | fa8e3504fbd439e0b687eb45efde51dd49d1da28 (patch) | |
tree | b37770de8267ce7f7bfa4bdeb143fc8e8c265a9e /games-emulation | |
parent | Version bump (diff) | |
download | gentoo-2-fa8e3504fbd439e0b687eb45efde51dd49d1da28.tar.gz gentoo-2-fa8e3504fbd439e0b687eb45efde51dd49d1da28.tar.bz2 gentoo-2-fa8e3504fbd439e0b687eb45efde51dd49d1da28.zip |
add patch from Daniel Schneidereit to fix "Open Rom" always starting in ~/.gens (bug #153593)
(Portage version: 2.1.3.19)
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/gens/ChangeLog | 7 | ||||
-rw-r--r-- | games-emulation/gens/files/gens-2.12b-romsdir.patch | 13 | ||||
-rw-r--r-- | games-emulation/gens/gens-2.12b.ebuild | 8 |
3 files changed, 24 insertions, 4 deletions
diff --git a/games-emulation/gens/ChangeLog b/games-emulation/gens/ChangeLog index 5f98e36b9619..74a01a5e05df 100644 --- a/games-emulation/gens/ChangeLog +++ b/games-emulation/gens/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-emulation/gens # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/gens/ChangeLog,v 1.15 2007/02/08 21:04:15 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/gens/ChangeLog,v 1.16 2007/11/29 03:36:27 mr_bones_ Exp $ + + 29 Nov 2007; Michael Sterrett <mr_bones_@gentoo.org> + +files/gens-2.12b-romsdir.patch, gens-2.12b.ebuild: + add patch from Daniel Schneidereit to fix "Open Rom" always starting in + ~/.gens (bug #153593) 08 Feb 2007; Chris Gianelloni <wolf31o2@gentoo.org> ChangeLog: Regenerate digest in Manifest2 format. diff --git a/games-emulation/gens/files/gens-2.12b-romsdir.patch b/games-emulation/gens/files/gens-2.12b-romsdir.patch new file mode 100644 index 000000000000..76b066b931cd --- /dev/null +++ b/games-emulation/gens/files/gens-2.12b-romsdir.patch @@ -0,0 +1,13 @@ +diff -ruN gens-rc3.5-opengl/src/gens/util/rom.c gens-rc3.5-opengl-patched/src/gens/util/rom.c +--- gens-rc3.5-opengl/src/gens/util/rom.c 2005-01-10 22:24:01.000000000 +0100 ++++ gens-rc3.5-opengl-patched/src/gens/util/rom.c 2006-10-29 14:58:14.000000000 +0100 +@@ -411,6 +411,9 @@ + create_file_chooser_dialog ("Open Rom", GTK_FILE_CHOOSER_ACTION_OPEN); + // fileselection_set_dir (fd.filesel, Rom_Dir); + addRomsFilter (widget); ++ ++ gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (widget), Rom_Dir); ++ + res = gtk_dialog_run (GTK_DIALOG (widget)); + if (res == GTK_RESPONSE_OK) + { diff --git a/games-emulation/gens/gens-2.12b.ebuild b/games-emulation/gens/gens-2.12b.ebuild index c272dad56aec..9549a2ab7834 100644 --- a/games-emulation/gens/gens-2.12b.ebuild +++ b/games-emulation/gens/gens-2.12b.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/gens/gens-2.12b.ebuild,v 1.5 2006/01/15 03:37:52 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/gens/gens-2.12b.ebuild,v 1.6 2007/11/29 03:36:27 mr_bones_ Exp $ inherit flag-o-matic eutils games @@ -23,7 +23,9 @@ S=${WORKDIR}/GensForLinux src_unpack() { unpack ${A} cd "${S}" - epatch "${FILESDIR}"/${P}-gcc4.patch + epatch \ + "${FILESDIR}"/${P}-gcc4.patch \ + "${FILESDIR}"/${P}-romsdir.patch append-ldflags -Wl,-z,noexecstack } |