aboutsummaryrefslogtreecommitdiff
path: root/audio/libmusicbrainz5
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libmusicbrainz5')
-rw-r--r--audio/libmusicbrainz5/Makefile3
-rw-r--r--audio/libmusicbrainz5/distinfo4
-rw-r--r--audio/libmusicbrainz5/files/patch-examples_getalbum.c20
-rw-r--r--audio/libmusicbrainz5/pkg-plist8
4 files changed, 24 insertions, 11 deletions
diff --git a/audio/libmusicbrainz5/Makefile b/audio/libmusicbrainz5/Makefile
index e5f92d0a83bc..813246d4aa7c 100644
--- a/audio/libmusicbrainz5/Makefile
+++ b/audio/libmusicbrainz5/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/libmusicbrainz5/distinfo b/audio/libmusicbrainz5/distinfo
index 850daefe14e2..347a231cffc3 100644
--- a/audio/libmusicbrainz5/distinfo
+++ b/audio/libmusicbrainz5/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/libmusicbrainz5/files/patch-examples_getalbum.c b/audio/libmusicbrainz5/files/patch-examples_getalbum.c
new file mode 100644
index 000000000000..a5842dfd606a
--- /dev/null
+++ b/audio/libmusicbrainz5/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/libmusicbrainz5/pkg-plist b/audio/libmusicbrainz5/pkg-plist
index 0fbbd752d8e5..06e7e89f4b3d 100644
--- a/audio/libmusicbrainz5/pkg-plist
+++ b/audio/libmusicbrainz5/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