summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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);