diff options
author | markd <markd@pkgsrc.org> | 2004-08-25 22:06:40 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2004-08-25 22:06:40 +0000 |
commit | 4ea7bc5f404826e44d9f9d0b9f3ba178a2abffeb (patch) | |
tree | 10af0052a795cc56be28a7cb614e002852edb05a /audio/musicbrainz/patches | |
parent | 01a8bdf4293a17e7dd68ce0410d21d92ddfeea89 (diff) | |
download | pkgsrc-4ea7bc5f404826e44d9f9d0b9f3ba178a2abffeb.tar.gz |
Fix build with gcc2.
Diffstat (limited to 'audio/musicbrainz/patches')
-rw-r--r-- | audio/musicbrainz/patches/patch-aa | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/audio/musicbrainz/patches/patch-aa b/audio/musicbrainz/patches/patch-aa new file mode 100644 index 00000000000..d76b465129f --- /dev/null +++ b/audio/musicbrainz/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1 2004/08/25 22:06:40 markd Exp $ + +--- examples/getalbum.c.orig 2004-08-26 09:42:15.000000000 +1200 ++++ examples/getalbum.c +@@ -30,7 +30,7 @@ int main(int argc, char *argv[]) + { + musicbrainz_t o; + char error[256], data[256], temp[256], *args[2]; +- int ret, numTracks, trackNum, i, isMultipleArtist = 0; ++ int ret, numDates, numTracks, trackNum, i, isMultipleArtist = 0; + + if (argc < 2) + { +@@ -141,7 +141,7 @@ int main(int argc, char *argv[]) + if (mb_GetResultData(o, MBE_AlbumGetAmazonCoverartURL, data, 256)) + printf("CoverartURL: %s\n", data); + +- int numDates = mb_GetResultInt(o, MBE_AlbumGetNumReleaseDates); ++ numDates = mb_GetResultInt(o, MBE_AlbumGetNumReleaseDates); + for(i = 1; i <= numDates; i++) + { + // Select the first release date |