summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-01-02 00:40:09 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-01-02 00:40:09 +0000
commit8d4231cb2eb649ce088774e3a87b17f00263ed7a (patch)
treedff53733c1f6dcd31c431c93b2b9dbb995f7bc14 /media-libs
parentversion bump, thanks to Juan Aguado <juantxorena@gmail.com>, bug #203784 (diff)
downloadgentoo-2-8d4231cb2eb649ce088774e3a87b17f00263ed7a.tar.gz
gentoo-2-8d4231cb2eb649ce088774e3a87b17f00263ed7a.tar.bz2
gentoo-2-8d4231cb2eb649ce088774e3a87b17f00263ed7a.zip
Add a patch from Ryan Hill <dirtyepic@gentoo.org> to allow building with gcc 4.3, really fix bug #202472 this time
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/musicbrainz/ChangeLog7
-rw-r--r--media-libs/musicbrainz/files/musicbrainz-2.1.5-gcc43-includes.patch57
-rw-r--r--media-libs/musicbrainz/musicbrainz-2.1.5.ebuild5
3 files changed, 66 insertions, 3 deletions
diff --git a/media-libs/musicbrainz/ChangeLog b/media-libs/musicbrainz/ChangeLog
index 3794f73711b2..3461e33512da 100644
--- a/media-libs/musicbrainz/ChangeLog
+++ b/media-libs/musicbrainz/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/musicbrainz
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/musicbrainz/ChangeLog,v 1.73 2008/01/02 00:17:01 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/musicbrainz/ChangeLog,v 1.74 2008/01/02 00:40:09 aballier Exp $
+
+ 02 Jan 2008; Alexis Ballier <aballier@gentoo.org>
+ +files/musicbrainz-2.1.5-gcc43-includes.patch, musicbrainz-2.1.5.ebuild:
+ Add a patch from Ryan Hill <dirtyepic@gentoo.org> to allow building with gcc
+ 4.3, really fix bug #202472 this time
*musicbrainz-3.0.1 (02 Jan 2008)
diff --git a/media-libs/musicbrainz/files/musicbrainz-2.1.5-gcc43-includes.patch b/media-libs/musicbrainz/files/musicbrainz-2.1.5-gcc43-includes.patch
new file mode 100644
index 000000000000..cc412f3d2bad
--- /dev/null
+++ b/media-libs/musicbrainz/files/musicbrainz-2.1.5-gcc43-includes.patch
@@ -0,0 +1,57 @@
+diff -Naur libmusicbrainz-2.1.4-orig/lib/c_wrapper.cpp libmusicbrainz-2.1.4/lib/c_wrapper.cpp
+--- libmusicbrainz-2.1.4-orig/lib/c_wrapper.cpp 2003-10-16 16:21:10.000000000 -0600
++++ libmusicbrainz-2.1.4/lib/c_wrapper.cpp 2007-12-16 09:45:21.000000000 -0600
+@@ -24,6 +24,7 @@
+ #include "musicbrainz.h"
+ #include "trm.h"
+ #include "mb_c.h"
++#include <cstring>
+
+ extern "C"
+ {
+diff -Naur libmusicbrainz-2.1.4-orig/lib/comhttpsocket.cpp libmusicbrainz-2.1.4/lib/comhttpsocket.cpp
+--- libmusicbrainz-2.1.4-orig/lib/comhttpsocket.cpp 2006-05-11 12:46:54.000000000 -0600
++++ libmusicbrainz-2.1.4/lib/comhttpsocket.cpp 2007-12-16 09:46:28.000000000 -0600
+@@ -20,6 +20,7 @@
+ #endif
+ #include <stdlib.h>
+ #include <assert.h>
++#include <cstring>
+
+ const char* g_strCOMVer = "libmusicbrainz/"VERSION;
+
+diff -Naur libmusicbrainz-2.1.4-orig/lib/comsocket.cpp libmusicbrainz-2.1.4/lib/comsocket.cpp
+--- libmusicbrainz-2.1.4-orig/lib/comsocket.cpp 2006-05-11 12:46:54.000000000 -0600
++++ libmusicbrainz-2.1.4/lib/comsocket.cpp 2007-12-16 09:46:08.000000000 -0600
+@@ -37,6 +37,7 @@
+ #include <netinet/tcp.h>
+ #include <errno.h>
+ #include <stdio.h>
++#include <cstring>
+ #include <sys/time.h>
+ #include <sys/types.h>
+ #include <unistd.h>
+diff -Naur libmusicbrainz-2.1.4-orig/lib/http.cpp libmusicbrainz-2.1.4/lib/http.cpp
+--- libmusicbrainz-2.1.4-orig/lib/http.cpp 2007-12-16 09:52:48.000000000 -0600
++++ libmusicbrainz-2.1.4/lib/http.cpp 2007-12-16 09:52:36.000000000 -0600
+@@ -31,6 +31,8 @@
+ #endif
+ #include <fcntl.h>
+ #include <errno.h>
++#include <cstring>
++#include <cstdlib>
+
+ #ifdef WIN32
+ #include <winsock.h>
+diff -Naur libmusicbrainz-2.1.4-orig/lib/sigclient.cpp libmusicbrainz-2.1.4/lib/sigclient.cpp
+--- libmusicbrainz-2.1.4-orig/lib/sigclient.cpp 2006-05-11 12:46:54.000000000 -0600
++++ libmusicbrainz-2.1.4/lib/sigclient.cpp 2007-12-16 09:54:48.000000000 -0600
+@@ -33,6 +33,8 @@
+ #pragma warning(disable:4786)
+ #endif
+
++#include <cstring>
++
+ #include "sigclient.h"
+ #include "comhttpsocket.h"
+
diff --git a/media-libs/musicbrainz/musicbrainz-2.1.5.ebuild b/media-libs/musicbrainz/musicbrainz-2.1.5.ebuild
index 14d02318f93a..181fff07bfa4 100644
--- a/media-libs/musicbrainz/musicbrainz-2.1.5.ebuild
+++ b/media-libs/musicbrainz/musicbrainz-2.1.5.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/musicbrainz/musicbrainz-2.1.5.ebuild,v 1.1 2008/01/01 20:06:50 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/musicbrainz/musicbrainz-2.1.5.ebuild,v 1.2 2008/01/02 00:40:09 aballier Exp $
-inherit libtool
+inherit libtool eutils
DESCRIPTION="Client library to access metadata of mp3/vorbis/CD media"
HOMEPAGE="http://www.musicbrainz.org/"
@@ -23,6 +23,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
elibtoolize
+ epatch "${FILESDIR}/${P}-gcc43-includes.patch"
}
src_compile() {