summaryrefslogtreecommitdiff
path: root/meta/packages/musicbrainz/files
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-08-01 20:40:19 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-08-01 20:40:19 +0000
commit2256a51e772297546274aa964f630f30ddecd50e (patch)
treec378ca054705c9a272d6e7c0cc39eadc959b3747 /meta/packages/musicbrainz/files
parent236595c8512a3621fdcc7ae04fc7ea9eae75f171 (diff)
downloadopenembedded-core-2256a51e772297546274aa964f630f30ddecd50e.tar.gz
openembedded-core-2256a51e772297546274aa964f630f30ddecd50e.tar.bz2
openembedded-core-2256a51e772297546274aa964f630f30ddecd50e.zip
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
Diffstat (limited to 'meta/packages/musicbrainz/files')
-rw-r--r--meta/packages/musicbrainz/files/change-len-type.patch11
1 files changed, 11 insertions, 0 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 @@
+--- 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)