From 2256a51e772297546274aa964f630f30ddecd50e Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 1 Aug 2007 20:40:19 +0000 Subject: libmusicbrainz: fix type of len variable to get it built git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2303 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/musicbrainz/files/change-len-type.patch | 11 +++++++++++ meta/packages/musicbrainz/libmusicbrainz_2.1.2.bb | 4 +++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 meta/packages/musicbrainz/files/change-len-type.patch (limited to 'meta/packages') diff --git a/meta/packages/musicbrainz/files/change-len-type.patch b/meta/packages/musicbrainz/files/change-len-type.patch new file mode 100644 index 0000000000..b2e6b083b8 --- /dev/null +++ b/meta/packages/musicbrainz/files/change-len-type.patch @@ -0,0 +1,11 @@ +--- libmusicbrainz-2.1.2.orig/lib/comsocket.cpp ++++ libmusicbrainz-2.1.2/lib/comsocket.cpp +@@ -356,7 +356,7 @@ + &wset)) + { + int error = 0; +- mb_socklen_t len = sizeof(error); ++ int len = sizeof(error); + + if (getsockopt(m_nSocket, SOL_SOCKET, SO_ERROR, &error, + &len) < 0) diff --git a/meta/packages/musicbrainz/libmusicbrainz_2.1.2.bb b/meta/packages/musicbrainz/libmusicbrainz_2.1.2.bb index 43632d8670..f26cd34ade 100644 --- a/meta/packages/musicbrainz/libmusicbrainz_2.1.2.bb +++ b/meta/packages/musicbrainz/libmusicbrainz_2.1.2.bb @@ -2,8 +2,10 @@ DESCRIPTION = "The MusicBrainz client is a library which can be built into other HOMEPAGE = "http://musicbrainz.org" LICENSE = "LGPL" DEPENDS = "expat" +PR = "r1" -SRC_URI = "http://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-2.1.2.tar.gz" +SRC_URI = "http://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-2.1.2.tar.gz \ + file://change-len-type.patch;patch=1" inherit autotools pkgconfig -- cgit v1.2.3