summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2008-04-22 12:09:59 +0000
committerTony Vroon <chainsaw@gentoo.org>2008-04-22 12:09:59 +0000
commit1b29aa2d53ff10cc49613c759a5bf146116e8a36 (patch)
treea64fee7ab7a555aa09bcd4c8996abadf3e79d630 /media-sound
parentDon't call _elibtoolize manually! Use eautoreconf instead. (diff)
downloadgentoo-2-1b29aa2d53ff10cc49613c759a5bf146116e8a36.tar.gz
gentoo-2-1b29aa2d53ff10cc49613c759a5bf146116e8a36.tar.bz2
gentoo-2-1b29aa2d53ff10cc49613c759a5bf146116e8a36.zip
Add missing include to enable compilation on GCC 4.3; patch from Peter Alfredsen <peter.alfredsen@gmail.com> closes bug #218827.
(Portage version: 2.1.5_rc5)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/mp3blaster/ChangeLog9
-rw-r--r--media-sound/mp3blaster/files/mp3blaster-3.2.3-gcc43.patch9
-rw-r--r--media-sound/mp3blaster/mp3blaster-3.2.3-r1.ebuild7
3 files changed, 21 insertions, 4 deletions
diff --git a/media-sound/mp3blaster/ChangeLog b/media-sound/mp3blaster/ChangeLog
index b97144a9d9a1..8b633fb92219 100644
--- a/media-sound/mp3blaster/ChangeLog
+++ b/media-sound/mp3blaster/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/mp3blaster
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3blaster/ChangeLog,v 1.40 2007/11/29 17:58:15 armin76 Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3blaster/ChangeLog,v 1.41 2008/04/22 12:09:59 chainsaw Exp $
+
+ 22 Apr 2008; <chainsaw@gentoo.org> +files/mp3blaster-3.2.3-gcc43.patch,
+ mp3blaster-3.2.3-r1.ebuild:
+ Add missing include to enable compilation on GCC 4.3; patch from Peter
+ Alfredsen <peter.alfredsen@gmail.com> closes bug #218827.
29 Nov 2007; Raúl Porcel <armin76@gentoo.org> mp3blaster-3.2.3-r1.ebuild:
alpha/ia64/sparc stable wrt #200136 thanks to Tobias Klausmann and Alex
diff --git a/media-sound/mp3blaster/files/mp3blaster-3.2.3-gcc43.patch b/media-sound/mp3blaster/files/mp3blaster-3.2.3-gcc43.patch
new file mode 100644
index 000000000000..6a65df514582
--- /dev/null
+++ b/media-sound/mp3blaster/files/mp3blaster-3.2.3-gcc43.patch
@@ -0,0 +1,9 @@
+--- mp3blaster-3.2.3.orig/src/history.cc
++++ mp3blaster-3.2.3/src/history.cc
+@@ -1,5 +1,6 @@
+ #include <config.h>
+ #include "history.h"
++#include <cstdlib>
+ #include <string.h>
+
+ History::History()
diff --git a/media-sound/mp3blaster/mp3blaster-3.2.3-r1.ebuild b/media-sound/mp3blaster/mp3blaster-3.2.3-r1.ebuild
index 256301558b01..329110a01b2e 100644
--- a/media-sound/mp3blaster/mp3blaster-3.2.3-r1.ebuild
+++ b/media-sound/mp3blaster/mp3blaster-3.2.3-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3blaster/mp3blaster-3.2.3-r1.ebuild,v 1.13 2007/11/29 17:58:15 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3blaster/mp3blaster-3.2.3-r1.ebuild,v 1.14 2008/04/22 12:09:59 chainsaw Exp $
+
+inherit eutils
DESCRIPTION="Text console based program for playing audio files"
HOMEPAGE="http://mp3blaster.sourceforge.net/"
@@ -26,6 +28,7 @@ src_unpack() {
# File collision with media-sound/splay.
sed -i -e "s:splay.1:splay_mp3blaster.1:" Makefile.in
mv splay.1 splay_mp3blaster.1
+ epatch "${FILESDIR}/${P}-gcc43.patch"
}
src_compile() {