libmusicbrainz build and GCC 4.3
- From: Kjartan Maraas <kmaraas broadpark no>
- To: gnome-release-team <release-team gnome org>
- Subject: libmusicbrainz build and GCC 4.3
- Date: Sat, 02 Feb 2008 18:48:18 +0100
Hi.
libmusicbrainz-2.1.4 doesn't build with GCC 4.3. 2.1.5 was supposed to
fix that but it seems the fix was incomplete...
Attaching a patch in case someone wants to add that to jhbuild. I filed
a bug upstream too.
Cheers
Kjartan
Only in libmusicbrainz-2.1.5.gcc43: .ChangeLog.swp
diff -upr libmusicbrainz-2.1.5/lib/comhttpsocket.cpp libmusicbrainz-2.1.5.gcc43/lib/comhttpsocket.cpp
--- libmusicbrainz-2.1.5/lib/comhttpsocket.cpp 2006-11-14 17:34:49.000000000 +0100
+++ libmusicbrainz-2.1.5.gcc43/lib/comhttpsocket.cpp 2008-02-02 18:31:27.000000000 +0100
@@ -20,6 +20,7 @@
#endif
#include <stdlib.h>
#include <assert.h>
+#include <string.h>
const char* g_strCOMVer = "libmusicbrainz/"VERSION;
diff -upr libmusicbrainz-2.1.5/lib/comsocket.cpp libmusicbrainz-2.1.5.gcc43/lib/comsocket.cpp
--- libmusicbrainz-2.1.5/lib/comsocket.cpp 2006-11-14 17:34:49.000000000 +0100
+++ libmusicbrainz-2.1.5.gcc43/lib/comsocket.cpp 2008-02-02 18:31:51.000000000 +0100
@@ -43,6 +43,7 @@ ________________________________________
#include <fcntl.h>
#include <net/if.h>
#include <sys/ioctl.h>
+#include <string.h>
#endif
#define mb_socklen_t ACCEPT_ARG3
diff -upr libmusicbrainz-2.1.5/lib/c_wrapper.cpp libmusicbrainz-2.1.5.gcc43/lib/c_wrapper.cpp
--- libmusicbrainz-2.1.5/lib/c_wrapper.cpp 2006-11-14 17:34:49.000000000 +0100
+++ libmusicbrainz-2.1.5.gcc43/lib/c_wrapper.cpp 2008-02-02 18:31:05.000000000 +0100
@@ -24,6 +24,7 @@
#include "musicbrainz.h"
#include "trm.h"
#include "mb_c.h"
+#include <string.h>
extern "C"
{
diff -upr libmusicbrainz-2.1.5/lib/http.cpp libmusicbrainz-2.1.5.gcc43/lib/http.cpp
--- libmusicbrainz-2.1.5/lib/http.cpp 2007-05-11 08:21:21.000000000 +0200
+++ libmusicbrainz-2.1.5.gcc43/lib/http.cpp 2008-02-02 18:32:31.000000000 +0100
@@ -22,6 +22,7 @@
$Id: http.cpp 9128 2007-05-11 06:21:20Z luks $
----------------------------------------------------------------------------*/
+#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
Only in libmusicbrainz-2.1.5.gcc43/lib: mb.cpp
Only in libmusicbrainz-2.1.5.gcc43/lib: mb.h
diff -upr libmusicbrainz-2.1.5/lib/sigclient.cpp libmusicbrainz-2.1.5.gcc43/lib/sigclient.cpp
--- libmusicbrainz-2.1.5/lib/sigclient.cpp 2006-11-14 17:34:49.000000000 +0100
+++ libmusicbrainz-2.1.5.gcc43/lib/sigclient.cpp 2008-02-02 18:33:08.000000000 +0100
@@ -33,6 +33,7 @@ email : ijr relatable com
#pragma warning(disable:4786)
#endif
+#include <string.h>
#include "sigclient.h"
#include "comhttpsocket.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]