1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

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
This commit is contained in:
Marcin Juszkiewicz
2007-08-01 20:40:19 +00:00
parent 236595c851
commit 2256a51e77
2 changed files with 14 additions and 1 deletions
@@ -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)
@@ -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