diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-01-03 12:10:49 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-01-03 12:10:49 +0000 |
commit | ee70afc1dfd1d26567756eaa75b90105b5361f09 (patch) | |
tree | e2ccec755d9ceca93cd8c70204b85342292c179f /media-libs | |
parent | Remove old versions. (diff) | |
download | gentoo-2-ee70afc1dfd1d26567756eaa75b90105b5361f09.tar.gz gentoo-2-ee70afc1dfd1d26567756eaa75b90105b5361f09.tar.bz2 gentoo-2-ee70afc1dfd1d26567756eaa75b90105b5361f09.zip |
Add patch to fix build with gcc 4.3 for musicbrainz3, by Ryan Hill <dirtyepic@gentoo.org>, bug #204152
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/musicbrainz/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/musicbrainz/files/musicbrainz-3.0.1-gcc-4.3-includes.patch | 22 | ||||
-rw-r--r-- | media-libs/musicbrainz/musicbrainz-3.0.1.ebuild | 11 |
3 files changed, 37 insertions, 3 deletions
diff --git a/media-libs/musicbrainz/ChangeLog b/media-libs/musicbrainz/ChangeLog index 3461e33512da..794a4543b331 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.74 2008/01/02 00:40:09 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/musicbrainz/ChangeLog,v 1.75 2008/01/03 12:10:49 aballier Exp $ + + 03 Jan 2008; Alexis Ballier <aballier@gentoo.org> + +files/musicbrainz-3.0.1-gcc-4.3-includes.patch, musicbrainz-3.0.1.ebuild: + Add patch to fix build with gcc 4.3 for musicbrainz3, by Ryan Hill + <dirtyepic@gentoo.org>, bug #204152 02 Jan 2008; Alexis Ballier <aballier@gentoo.org> +files/musicbrainz-2.1.5-gcc43-includes.patch, musicbrainz-2.1.5.ebuild: diff --git a/media-libs/musicbrainz/files/musicbrainz-3.0.1-gcc-4.3-includes.patch b/media-libs/musicbrainz/files/musicbrainz-3.0.1-gcc-4.3-includes.patch new file mode 100644 index 000000000000..824f3254bca7 --- /dev/null +++ b/media-libs/musicbrainz/files/musicbrainz-3.0.1-gcc-4.3-includes.patch @@ -0,0 +1,22 @@ +diff -Naur libmusicbrainz-3.0.1-orig/src/utils_private.cpp libmusicbrainz-3.0.1/src/utils_private.cpp +--- libmusicbrainz-3.0.1-orig/src/utils_private.cpp 2006-09-05 02:59:44.000000000 -0600 ++++ libmusicbrainz-3.0.1/src/utils_private.cpp 2008-01-02 21:15:25.000000000 -0600 +@@ -20,6 +20,7 @@ + * $Id: musicbrainz-3.0.1-gcc-4.3-includes.patch,v 1.1 2008/01/03 12:10:49 aballier Exp $ + */ + ++#include <cstdlib> + #include <cstring> + #include <cstdarg> + #include <iostream> +diff -Naur libmusicbrainz-3.0.1-orig/src/webservice.cpp libmusicbrainz-3.0.1/src/webservice.cpp +--- libmusicbrainz-3.0.1-orig/src/webservice.cpp 2007-05-11 16:55:10.000000000 -0600 ++++ libmusicbrainz-3.0.1/src/webservice.cpp 2008-01-02 21:12:27.000000000 -0600 +@@ -24,6 +24,7 @@ + #include <string> + #include <map> + #include <iostream> ++#include <stdlib.h> + #include <string.h> + #include <ne_session.h> + #include <ne_request.h> diff --git a/media-libs/musicbrainz/musicbrainz-3.0.1.ebuild b/media-libs/musicbrainz/musicbrainz-3.0.1.ebuild index 07937ac9387a..72e49ada101b 100644 --- a/media-libs/musicbrainz/musicbrainz-3.0.1.ebuild +++ b/media-libs/musicbrainz/musicbrainz-3.0.1.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-3.0.1.ebuild,v 1.1 2008/01/02 00:17:01 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/musicbrainz/musicbrainz-3.0.1.ebuild,v 1.2 2008/01/03 12:10:49 aballier Exp $ -inherit cmake-utils +inherit cmake-utils eutils DESCRIPTION="Client library to access metadata of mp3/vorbis/CD media" HOMEPAGE="http://www.musicbrainz.org/" @@ -23,6 +23,13 @@ S=${WORKDIR}/lib${P} CMAKE_IN_SOURCE_BUILD=true +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-gcc-4.3-includes.patch" +} + src_install() { cmake-utils_src_install dodoc README.txt NEWS.txt AUTHORS.txt |