diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-11-20 12:24:34 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-11-20 12:24:34 +0000 |
commit | 62dc9b0750b46671319c5f05f80761fdc0442cf5 (patch) | |
tree | 15d37681d7b0054a0222fa106b8117976546ee20 /games-emulation/zsnes/files | |
parent | ppc stable as per bug #ppc stable as per bug #71817 (Manifest recommit) (diff) | |
download | gentoo-2-62dc9b0750b46671319c5f05f80761fdc0442cf5.tar.gz gentoo-2-62dc9b0750b46671319c5f05f80761fdc0442cf5.tar.bz2 gentoo-2-62dc9b0750b46671319c5f05f80761fdc0442cf5.zip |
version bump (bug #69787); command-line patch from Ben Ford via bug #69196
Diffstat (limited to 'games-emulation/zsnes/files')
-rw-r--r-- | games-emulation/zsnes/files/command-line.patch | 25 | ||||
-rw-r--r-- | games-emulation/zsnes/files/digest-zsnes-1.37_pre20041024 | 1 |
2 files changed, 26 insertions, 0 deletions
diff --git a/games-emulation/zsnes/files/command-line.patch b/games-emulation/zsnes/files/command-line.patch new file mode 100644 index 000000000000..c44bc0231ec9 --- /dev/null +++ b/games-emulation/zsnes/files/command-line.patch @@ -0,0 +1,25 @@ +--- zsnes/src/linux/zloaderw.c 2003-10-22 20:10:08.000000000 -0700 ++++ zsnes/src/linux/zloaderw.c.new 2004-10-27 15:32:30.000000000 -0700 +@@ -336,15 +336,14 @@ + } + + /* execute rom filename: file.x */ +- if (optopt == '?') ++ /* getopt permutates argv until all non options are at the end of argv. */ ++ /* since we only expect one non option, it should be the last argument. */ ++ if ( optind == argc - 1 && argv[optind] != NULL) + { +- if (argv[optind] != NULL) +- { +- fvar=&fname; +- fvar[0] = strlen(argv[optind]); +- strncpy(&fvar[1], argv[optind],127); +- makeextension(); +- } ++ fvar=&fname; ++ fvar[0] = strlen(argv[optind]); ++ strncpy(&fvar[1], argv[optind],127); ++ makeextension(); + } + + zstart(); diff --git a/games-emulation/zsnes/files/digest-zsnes-1.37_pre20041024 b/games-emulation/zsnes/files/digest-zsnes-1.37_pre20041024 new file mode 100644 index 000000000000..81740dda0b80 --- /dev/null +++ b/games-emulation/zsnes/files/digest-zsnes-1.37_pre20041024 @@ -0,0 +1 @@ +MD5 8e92f3366cf93a4b541248abe36159f7 ZSNESS_1024.tar.bz2 789791 |