pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/musicbrainz Fix build with gcc2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0c7a0d92101a
branches:  trunk
changeset: 479903:0c7a0d92101a
user:      markd <markd%pkgsrc.org@localhost>
date:      Wed Aug 25 22:06:40 2004 +0000

description:
Fix build with gcc2.

diffstat:

 audio/musicbrainz/distinfo         |   3 ++-
 audio/musicbrainz/patches/patch-aa |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r b266131a588e -r 0c7a0d92101a audio/musicbrainz/distinfo
--- a/audio/musicbrainz/distinfo        Wed Aug 25 20:26:37 2004 +0000
+++ b/audio/musicbrainz/distinfo        Wed Aug 25 22:06:40 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.5 2004/08/21 11:07:35 markd Exp $
+$NetBSD: distinfo,v 1.6 2004/08/25 22:06:40 markd Exp $
 
 SHA1 (libmusicbrainz-2.1.1.tar.gz) = 83fb98534da266eb8c87d0cc14fb5f95a5feb37c
 Size (libmusicbrainz-2.1.1.tar.gz) = 528162 bytes
+SHA1 (patch-aa) = 46b43c389f4445b5e7175041131cbdb0d6506b01
diff -r b266131a588e -r 0c7a0d92101a audio/musicbrainz/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/musicbrainz/patches/patch-aa        Wed Aug 25 22:06:40 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index