summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-02-27 04:32:17 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-02-27 04:32:17 +0000
commit822927a125ab7a4afeeefeb56e64e48de71bb990 (patch)
treeb386538c8738718960f40ca7f77fdb4d605b479b /games-emulation/gtuxnes/files
parentAdded ~sparc keyword wrt bug #82670. (diff)
downloadgentoo-2-822927a125ab7a4afeeefeb56e64e48de71bb990.tar.gz
gentoo-2-822927a125ab7a4afeeefeb56e64e48de71bb990.tar.bz2
gentoo-2-822927a125ab7a4afeeefeb56e64e48de71bb990.zip
use games eclass; add patch from Myk Taylor (bug #82768) to support spaces in the rc file; tidy
(Portage version: 2.0.51-r15)
Diffstat (limited to 'games-emulation/gtuxnes/files')
-rw-r--r--games-emulation/gtuxnes/files/0.75-rc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games-emulation/gtuxnes/files/0.75-rc.patch b/games-emulation/gtuxnes/files/0.75-rc.patch
new file mode 100644
index 000000000000..e44b068b2268
--- /dev/null
+++ b/games-emulation/gtuxnes/files/0.75-rc.patch
@@ -0,0 +1,11 @@
+--- config.c.orig 2005-02-26 22:52:50.000000000 -0500
++++ config.c 2005-02-26 22:53:21.000000000 -0500
+@@ -56,7 +56,7 @@
+ while (!feof(config_file))
+ {
+ raw_data[0] = '\0';
+- fscanf(config_file, "%s\n", raw_data);
++ fscanf(config_file, "%[^\n]\n", raw_data);
+ if (strlen(raw_data) < 10)
+ break;
+ strncpy(str_opname, raw_data, 10);