summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2006-09-26 20:56:48 +0000
committerTristan Heaven <nyhm@gentoo.org>2006-09-26 20:56:48 +0000
commit1cf9580aab464752819ef1f51faaa08b847dce78 (patch)
treef4c3fd52fadbead4cf198646d3bf2391478a6fae /games-emulation/fceultra
parentStable on hppa wrt #138373 (diff)
downloadgentoo-2-1cf9580aab464752819ef1f51faaa08b847dce78.tar.gz
gentoo-2-1cf9580aab464752819ef1f51faaa08b847dce78.tar.bz2
gentoo-2-1cf9580aab464752819ef1f51faaa08b847dce78.zip
Add patch to fix creation of ~/.fceultra/cheats, bug #109359
(Portage version: 2.1.2_pre1-r3)
Diffstat (limited to 'games-emulation/fceultra')
-rw-r--r--games-emulation/fceultra/ChangeLog6
-rw-r--r--games-emulation/fceultra/fceultra-0.98.12.ebuild8
-rw-r--r--games-emulation/fceultra/files/fceultra-0.98.12-mkdir.patch11
3 files changed, 23 insertions, 2 deletions
diff --git a/games-emulation/fceultra/ChangeLog b/games-emulation/fceultra/ChangeLog
index f993102ae8a6..f91d02cc2bf3 100644
--- a/games-emulation/fceultra/ChangeLog
+++ b/games-emulation/fceultra/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/fceultra
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceultra/ChangeLog,v 1.18 2006/08/17 17:49:17 malc Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceultra/ChangeLog,v 1.19 2006/09/26 20:56:48 nyhm Exp $
+
+ 26 Sep 2006; Tristan Heaven <nyhm@gentoo.org>
+ +files/fceultra-0.98.12-mkdir.patch, fceultra-0.98.12.ebuild:
+ Add patch to fix creation of ~/.fceultra/cheats, bug #109359
17 Aug 2006; <malc@gentoo.org> fceultra-0.98.12.ebuild:
Stable on amd64, bug #143708
diff --git a/games-emulation/fceultra/fceultra-0.98.12.ebuild b/games-emulation/fceultra/fceultra-0.98.12.ebuild
index 6bff82cb32b6..13c54a85e623 100644
--- a/games-emulation/fceultra/fceultra-0.98.12.ebuild
+++ b/games-emulation/fceultra/fceultra-0.98.12.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceultra/fceultra-0.98.12.ebuild,v 1.5 2006/08/17 17:49:17 malc Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceultra/fceultra-0.98.12.ebuild,v 1.6 2006/09/26 20:56:48 nyhm Exp $
inherit eutils games
@@ -23,6 +23,12 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/fceu
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-mkdir.patch
+}
+
src_compile() {
egamesconf \
--disable-dependency-tracking \
diff --git a/games-emulation/fceultra/files/fceultra-0.98.12-mkdir.patch b/games-emulation/fceultra/files/fceultra-0.98.12-mkdir.patch
new file mode 100644
index 000000000000..54df4dae2cae
--- /dev/null
+++ b/games-emulation/fceultra/files/fceultra-0.98.12-mkdir.patch
@@ -0,0 +1,11 @@
+--- src/drivers/pc/main.c
++++ src/drivers/pc/main.c
+@@ -163,7 +163,7 @@
+ }
+ #else
+ mkdir(DrBaseDirectory,S_IRWXU);
+- for(x=0;x<5;x++)
++ for(x=0;x<6;x++)
+ {
+ sprintf(tdir,"%s"PSS"%s",DrBaseDirectory,subs[x]);
+ mkdir(tdir,S_IRWXU);