ALT Linux repositórios
Group :: Sistema/Bibliotecas
RPM: libmusicbrainz
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: libmusicbrainz-2.1.5-alt-gcc43.patch
Download
Download
--- libmusicbrainz-2.1.5/lib/c_wrapper.cpp.gcc43 2006-11-14 16:34:49 +0000
+++ libmusicbrainz-2.1.5/lib/c_wrapper.cpp 2008-10-27 09:29:38 +0000
@@ -21,6 +21,8 @@
$Id: c_wrapper.cpp 665 2003-10-16 22:21:10Z robert $
----------------------------------------------------------------------------*/
+#include <string.h>
+
#include "musicbrainz.h"
#include "trm.h"
#include "mb_c.h"
--- libmusicbrainz-2.1.5/lib/comhttpsocket.cpp.gcc43 2006-11-14 16:34:49 +0000
+++ libmusicbrainz-2.1.5/lib/comhttpsocket.cpp 2008-10-27 09:31:05 +0000
@@ -20,6 +20,7 @@
#endif
#include <stdlib.h>
#include <assert.h>
+#include <string.h>
const char* g_strCOMVer = "libmusicbrainz/"VERSION;
--- libmusicbrainz-2.1.5/lib/comsocket.cpp.gcc43 2008-10-27 09:27:56 +0000
+++ libmusicbrainz-2.1.5/lib/comsocket.cpp 2008-10-27 09:31:56 +0000
@@ -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
--- libmusicbrainz-2.1.5/lib/http.cpp.gcc43 2007-05-11 06:21:21 +0000
+++ libmusicbrainz-2.1.5/lib/http.cpp 2008-10-27 09:38:22 +0000
@@ -68,6 +68,10 @@
#include <strings.h>
#endif
+#ifdef __linux__
+#include <string.h>
+#endif
+
using namespace std;
const unsigned short kHttpPort = 80;
--- libmusicbrainz-2.1.5/lib/sigclient.cpp.gcc43 2006-11-14 16:34:49 +0000
+++ libmusicbrainz-2.1.5/lib/sigclient.cpp 2008-10-27 09:39:25 +0000
@@ -33,6 +33,7 @@ email : ijr@relatable.com
#pragma warning(disable:4786)
#endif
+#include <string.h>
#include "sigclient.h"
#include "comhttpsocket.h"