diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-02-03 11:05:46 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-02-03 11:05:46 +0000 |
commit | 31a69883dfdc325195f6631cf7b4e352435b2a38 (patch) | |
tree | abdc12bffcb55e46d6cec0ef4516b3bd91312115 /media-sound/wavbreaker/files | |
parent | Added dev-perl/XML-Parser dependency addressing bug 38260 (Manifest recommit) (diff) | |
download | gentoo-2-31a69883dfdc325195f6631cf7b4e352435b2a38.tar.gz gentoo-2-31a69883dfdc325195f6631cf7b4e352435b2a38.tar.bz2 gentoo-2-31a69883dfdc325195f6631cf7b4e352435b2a38.zip |
Added patch to fix non-ANSI C provided by Tristan Henderson <T.Henderson@cs.ucl.ac.uk> in bug #39365
Diffstat (limited to 'media-sound/wavbreaker/files')
-rw-r--r-- | media-sound/wavbreaker/files/wavbreaker-0.4-gcc2_fix.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/media-sound/wavbreaker/files/wavbreaker-0.4-gcc2_fix.patch b/media-sound/wavbreaker/files/wavbreaker-0.4-gcc2_fix.patch new file mode 100644 index 000000000000..fb5b616d5b10 --- /dev/null +++ b/media-sound/wavbreaker/files/wavbreaker-0.4-gcc2_fix.patch @@ -0,0 +1,19 @@ +diff -ur wavbreaker-0.4.orig/src/wavinfo.c wavbreaker-0.4/src/wavinfo.c +--- wavbreaker-0.4.orig/src/wavinfo.c 2003-10-25 17:06:20.000000000 -0400 ++++ wavbreaker-0.4/src/wavinfo.c 2003-12-28 07:43:20.000000000 -0500 +@@ -12,6 +12,7 @@ + char str[128]; + FILE *fp; + int i; ++ SampleInfo sampleInfo; + + if (argc < 2) { + printf("must pass filename of wave file.\n"); +@@ -21,7 +22,6 @@ + for (i = 1; i < argc; i++) { + printf("Header info for: %s\n", argv[i]); + +- SampleInfo sampleInfo; + if (wav_read_header(argv[i], &sampleInfo, 1) != 0) { + printf(wav_get_error_message()); + } |