summaryrefslogtreecommitdiff
path: root/meta/packages/musicbrainz/files
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-07-18 15:48:13 +0000
committerRichard Purdie <richard@openedhand.com>2008-07-18 15:48:13 +0000
commitac757c10da72b390d88f2724d329e0b0b1f4f8c1 (patch)
treed337e782ab5adda689f6fd276b9d08ea09962e2d /meta/packages/musicbrainz/files
parentb60a7b43296ce6761abb5c7c05d2233a8f9113d1 (diff)
downloadopenembedded-core-ac757c10da72b390d88f2724d329e0b0b1f4f8c1.tar.gz
openembedded-core-ac757c10da72b390d88f2724d329e0b0b1f4f8c1.tar.bz2
openembedded-core-ac757c10da72b390d88f2724d329e0b0b1f4f8c1.tar.xz
openembedded-core-ac757c10da72b390d88f2724d329e0b0b1f4f8c1.zip
musicbrainz: Fix compile issues with gcc 4.3.1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4883 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/musicbrainz/files')
-rw-r--r--meta/packages/musicbrainz/files/gcc43_fix.patch63
1 files changed, 63 insertions, 0 deletions
diff --git a/meta/packages/musicbrainz/files/gcc43_fix.patch b/meta/packages/musicbrainz/files/gcc43_fix.patch
new file mode 100644
index 000000000..520837dd0
--- /dev/null
+++ b/meta/packages/musicbrainz/files/gcc43_fix.patch
@@ -0,0 +1,63 @@
+Index: libmusicbrainz-2.1.3/lib/c_wrapper.cpp
+===================================================================
+--- libmusicbrainz-2.1.3.orig/lib/c_wrapper.cpp 2008-07-18 15:40:55.000000000 +0100
++++ libmusicbrainz-2.1.3/lib/c_wrapper.cpp 2008-07-18 15:42:05.000000000 +0100
+@@ -21,6 +21,7 @@
+ $Id: c_wrapper.cpp 665 2003-10-16 22:21:10Z robert $
+
+ ----------------------------------------------------------------------------*/
++#include <cstring>
+ #include "musicbrainz.h"
+ #include "trm.h"
+ #include "mb_c.h"
+Index: libmusicbrainz-2.1.3/lib/comhttpsocket.cpp
+===================================================================
+--- libmusicbrainz-2.1.3.orig/lib/comhttpsocket.cpp 2008-07-18 15:40:55.000000000 +0100
++++ libmusicbrainz-2.1.3/lib/comhttpsocket.cpp 2008-07-18 15:42:38.000000000 +0100
+@@ -10,6 +10,8 @@
+ #pragma warning(disable:4786)
+ #endif
+
++#include <cstring>
++
+ #include "comhttpsocket.h"
+ #ifdef WIN32
+ #include "../config_win32.h"
+Index: libmusicbrainz-2.1.3/lib/comsocket.cpp
+===================================================================
+--- libmusicbrainz-2.1.3.orig/lib/comsocket.cpp 2008-07-18 15:40:55.000000000 +0100
++++ libmusicbrainz-2.1.3/lib/comsocket.cpp 2008-07-18 15:43:05.000000000 +0100
+@@ -28,6 +28,7 @@
+ programed by : Sean Ward
+ email : sward@relatable.com
+ ***************************************************************************/
++#include <cstring>
+
+ #include "config.h"
+
+Index: libmusicbrainz-2.1.3/lib/http.cpp
+===================================================================
+--- libmusicbrainz-2.1.3.orig/lib/http.cpp 2008-07-18 15:40:55.000000000 +0100
++++ libmusicbrainz-2.1.3/lib/http.cpp 2008-07-18 15:41:32.000000000 +0100
+@@ -23,6 +23,8 @@
+
+ ----------------------------------------------------------------------------*/
+ #include <stdio.h>
++#include <cstring>
++#include <cstdlib>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <ctype.h>
+Index: libmusicbrainz-2.1.3/lib/sigclient.cpp
+===================================================================
+--- libmusicbrainz-2.1.3.orig/lib/sigclient.cpp 2008-07-18 15:40:55.000000000 +0100
++++ libmusicbrainz-2.1.3/lib/sigclient.cpp 2008-07-18 15:43:27.000000000 +0100
+@@ -29,6 +29,8 @@
+ email : ijr@relatable.com
+ ***************************************************************************/
+
++#include <cstring>
++
+ #ifdef WIN32
+ #pragma warning(disable:4786)
+ #endif