From 297b9224029dc9ed297fc718f583dc09c1fb4287 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Wed, 17 Mar 2004 05:17:39 +0000 Subject: Update to 2.1.1. Submitted by: Koop Mast --- audio/libmusicbrainz4/Makefile | 3 +-- audio/libmusicbrainz4/distinfo | 4 ++-- .../libmusicbrainz4/files/patch-examples_getalbum.c | 20 ++++++++++++++++++++ audio/libmusicbrainz4/pkg-plist | 8 +------- 4 files changed, 24 insertions(+), 11 deletions(-) create mode 100644 audio/libmusicbrainz4/files/patch-examples_getalbum.c (limited to 'audio/libmusicbrainz4') diff --git a/audio/libmusicbrainz4/Makefile b/audio/libmusicbrainz4/Makefile index e5f92d0a83bc..813246d4aa7c 100644 --- a/audio/libmusicbrainz4/Makefile +++ b/audio/libmusicbrainz4/Makefile @@ -6,8 +6,7 @@ # PORTNAME= libmusicbrainz -PORTVERSION= 2.0.2 -PORTREVISION= 3 +PORTVERSION= 2.1.1 CATEGORIES= audio MASTER_SITES= ftp://ftp.musicbrainz.org/pub/musicbrainz/ diff --git a/audio/libmusicbrainz4/distinfo b/audio/libmusicbrainz4/distinfo index 850daefe14e2..347a231cffc3 100644 --- a/audio/libmusicbrainz4/distinfo +++ b/audio/libmusicbrainz4/distinfo @@ -1,2 +1,2 @@ -MD5 (libmusicbrainz-2.0.2.tar.gz) = 28226090a5bf5bc844634e1d4faf6334 -SIZE (libmusicbrainz-2.0.2.tar.gz) = 583123 +MD5 (libmusicbrainz-2.1.1.tar.gz) = 4f753d93a85cf413e00f1394b8cbd269 +SIZE (libmusicbrainz-2.1.1.tar.gz) = 528162 diff --git a/audio/libmusicbrainz4/files/patch-examples_getalbum.c b/audio/libmusicbrainz4/files/patch-examples_getalbum.c new file mode 100644 index 000000000000..a5842dfd606a --- /dev/null +++ b/audio/libmusicbrainz4/files/patch-examples_getalbum.c @@ -0,0 +1,20 @@ +--- examples/getalbum.c.orig Wed Mar 17 00:05:57 2004 ++++ examples/getalbum.c Wed Mar 17 00:06:35 2004 +@@ -30,7 +30,7 @@ + { + musicbrainz_t o; + char error[256], data[256], temp[256], *args[2]; +- int ret, numTracks, trackNum, i, isMultipleArtist = 0; ++ int ret, numTracks, numDates, trackNum, i, isMultipleArtist = 0; + + if (argc < 2) + { +@@ -141,7 +141,7 @@ + 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 diff --git a/audio/libmusicbrainz4/pkg-plist b/audio/libmusicbrainz4/pkg-plist index 0fbbd752d8e5..06e7e89f4b3d 100644 --- a/audio/libmusicbrainz4/pkg-plist +++ b/audio/libmusicbrainz4/pkg-plist @@ -1,8 +1,3 @@ -include/musicbrainz/bitprintinfo.h -include/musicbrainz/bitzi/bitcollider.h -include/musicbrainz/bitzi/gui_win32.h -include/musicbrainz/bitzi/list.h -include/musicbrainz/bitzi/plugin.h include/musicbrainz/browser.h include/musicbrainz/errors.h include/musicbrainz/mb_c.h @@ -10,7 +5,6 @@ include/musicbrainz/musicbrainz.h include/musicbrainz/queries.h lib/libmusicbrainz.a lib/libmusicbrainz.so -lib/libmusicbrainz.so.3 +lib/libmusicbrainz.so.4 libdata/pkgconfig/libmusicbrainz.pc -@dirrm include/musicbrainz/bitzi @dirrm include/musicbrainz -- cgit v1.2.3