diff options
-rw-r--r-- | meta/packages/musicbrainz/files/change-len-type.patch | 11 | ||||
-rw-r--r-- | meta/packages/musicbrainz/libmusicbrainz_2.1.2.bb | 4 |
2 files changed, 14 insertions, 1 deletions
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 @@ | |||
1 | --- libmusicbrainz-2.1.2.orig/lib/comsocket.cpp | ||
2 | +++ libmusicbrainz-2.1.2/lib/comsocket.cpp | ||
3 | @@ -356,7 +356,7 @@ | ||
4 | &wset)) | ||
5 | { | ||
6 | int error = 0; | ||
7 | - mb_socklen_t len = sizeof(error); | ||
8 | + int len = sizeof(error); | ||
9 | |||
10 | if (getsockopt(m_nSocket, SOL_SOCKET, SO_ERROR, &error, | ||
11 | &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 | |||
2 | HOMEPAGE = "http://musicbrainz.org" | 2 | HOMEPAGE = "http://musicbrainz.org" |
3 | LICENSE = "LGPL" | 3 | LICENSE = "LGPL" |
4 | DEPENDS = "expat" | 4 | DEPENDS = "expat" |
5 | PR = "r1" | ||
5 | 6 | ||
6 | SRC_URI = "http://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-2.1.2.tar.gz" | 7 | SRC_URI = "http://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-2.1.2.tar.gz \ |
8 | file://change-len-type.patch;patch=1" | ||
7 | 9 | ||
8 | inherit autotools pkgconfig | 10 | inherit autotools pkgconfig |
9 | 11 | ||