summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2009-01-13 20:54:17 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2009-01-13 20:54:17 +0000
commit9c9e0de23702e8c20f18939ab51c410ff23f23de (patch)
treec40ad016bdb632ac4ffa7c1b5363c3a9b0b8cbc7 /media-plugins/vdr-music
parentRename version: 0.31011 -> 0.31.011 (diff)
downloadgentoo-2-9c9e0de23702e8c20f18939ab51c410ff23f23de.tar.gz
gentoo-2-9c9e0de23702e8c20f18939ab51c410ff23f23de.tar.bz2
gentoo-2-9c9e0de23702e8c20f18939ab51c410ff23f23de.zip
Fix compilation with gcc-4.3, Bug #251187
(Portage version: 2.1.6.5/cvs/Linux 2.6.27-gentoo-r1 i686)
Diffstat (limited to 'media-plugins/vdr-music')
-rw-r--r--media-plugins/vdr-music/ChangeLog8
-rw-r--r--media-plugins/vdr-music/files/vdr-music-0.2.0-gcc4.3.diff11
-rw-r--r--media-plugins/vdr-music/vdr-music-0.2.0.ebuild11
3 files changed, 23 insertions, 7 deletions
diff --git a/media-plugins/vdr-music/ChangeLog b/media-plugins/vdr-music/ChangeLog
index 355b75eaa35c..a48e06d8317a 100644
--- a/media-plugins/vdr-music/ChangeLog
+++ b/media-plugins/vdr-music/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/vdr-music
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-music/ChangeLog,v 1.5 2008/08/01 19:50:07 cardoe Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-music/ChangeLog,v 1.6 2009/01/13 20:54:17 zzam Exp $
+
+ 13 Jan 2009; Matthias Schwarzott <zzam@gentoo.org>
+ +files/vdr-music-0.2.0-gcc4.3.diff, vdr-music-0.2.0.ebuild:
+ Fix compilation with gcc-4.3, Bug #251187
01 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
add GLEP 56 USE flag desc from use.local.desc
diff --git a/media-plugins/vdr-music/files/vdr-music-0.2.0-gcc4.3.diff b/media-plugins/vdr-music/files/vdr-music-0.2.0-gcc4.3.diff
new file mode 100644
index 000000000000..163056d6db3a
--- /dev/null
+++ b/media-plugins/vdr-music/files/vdr-music-0.2.0-gcc4.3.diff
@@ -0,0 +1,11 @@
+diff -ru music-0.2.0-orig/imagecache.h music-0.2.0/imagecache.h
+--- music-0.2.0-orig/imagecache.h 2009-01-13 21:43:51.680447146 +0100
++++ music-0.2.0/imagecache.h 2009-01-13 21:47:06.427098002 +0100
+@@ -8,6 +8,7 @@
+ #include <map>
+ #include <vector>
+ #include <string>
++#include <stdlib.h>
+
+ template<class key_type, class data_type>
+ class cxCache {
diff --git a/media-plugins/vdr-music/vdr-music-0.2.0.ebuild b/media-plugins/vdr-music/vdr-music-0.2.0.ebuild
index 2a4ea2c8f7b1..6f337ff7c386 100644
--- a/media-plugins/vdr-music/vdr-music-0.2.0.ebuild
+++ b/media-plugins/vdr-music/vdr-music-0.2.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 2003-2008 Gentoo Foundation
+# Copyright 2003-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-music/vdr-music-0.2.0.ebuild,v 1.3 2008/06/22 17:25:17 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-music/vdr-music-0.2.0.ebuild,v 1.4 2009/01/13 20:54:17 zzam Exp $
inherit vdr-plugin
@@ -13,9 +13,10 @@ LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64"
IUSE="imagemagick debug vorbis oss ff-card graphtft 4mb-mod sndfile"
-PATCHES="${FILESDIR}/${P}-gentoo.diff
- ${FILESDIR}/${P}-vdr-1.5.x.diff
- ${FILESDIR}/${P}-lyrics.diff"
+PATCHES=("${FILESDIR}/${P}-gentoo.diff"
+ "${FILESDIR}/${P}-vdr-1.5.x.diff"
+ "${FILESDIR}/${P}-lyrics.diff"
+ "${FILESDIR}/${P}-gcc4.3.diff")
DEPEND=">=media-video/vdr-1.3.30
media-libs/libmad