summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Hood <squinky86@gentoo.org>2004-07-03 06:56:15 +0000
committerJon Hood <squinky86@gentoo.org>2004-07-03 06:56:15 +0000
commit3827170bbaab3fff706e09940ba45c33b89917d9 (patch)
treece3d4e07f43ce62b91e258d0cafcaf3fedc7d725 /media-plugins
parentFix loading of the sound samples when using sdl-mixer (bug #55932) (Manifest ... (diff)
downloadgentoo-2-3827170bbaab3fff706e09940ba45c33b89917d9.tar.gz
gentoo-2-3827170bbaab3fff706e09940ba45c33b89917d9.tar.bz2
gentoo-2-3827170bbaab3fff706e09940ba45c33b89917d9.zip
add gcc-3.4 patch, closes #54254
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/xmms-fc/ChangeLog6
-rw-r--r--media-plugins/xmms-fc/files/xmms-fc-gcc34.patch36
-rw-r--r--media-plugins/xmms-fc/xmms-fc-0.5.3.ebuild10
3 files changed, 50 insertions, 2 deletions
diff --git a/media-plugins/xmms-fc/ChangeLog b/media-plugins/xmms-fc/ChangeLog
index 83da9465dbfb..fb339258213a 100644
--- a/media-plugins/xmms-fc/ChangeLog
+++ b/media-plugins/xmms-fc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/xmms-fc
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-fc/ChangeLog,v 1.4 2004/06/24 23:39:23 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-fc/ChangeLog,v 1.5 2004/07/03 06:56:15 squinky86 Exp $
+
+ 03 Jul 2004; Jon Hood <squinky86@gentoo.org> +files/xmms-fc-gcc34.patch,
+ xmms-fc-0.5.3.ebuild:
+ adding gcc-3.4 patch, closes #54254
17 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> xmms-fc-0.5.3.ebuild:
using mirror://
diff --git a/media-plugins/xmms-fc/files/xmms-fc-gcc34.patch b/media-plugins/xmms-fc/files/xmms-fc-gcc34.patch
new file mode 100644
index 000000000000..5d3c2f568651
--- /dev/null
+++ b/media-plugins/xmms-fc/files/xmms-fc-gcc34.patch
@@ -0,0 +1,36 @@
+diff -Naur xmms-fc-0.5.3.vanilla/src/SmartPtr.h xmms-fc-0.5.3/src/SmartPtr.h
+--- xmms-fc-0.5.3.vanilla/src/SmartPtr.h 1998-11-30 13:10:00.000000000 -0600
++++ xmms-fc-0.5.3/src/SmartPtr.h 2004-07-03 01:49:33.991970368 -0500
+@@ -24,7 +24,7 @@
+ }
+ else
+ {
+- pBufCurrent = ( bufBegin = ( bufEnd = 0 ));
++ T* pBufCurrent = ( bufBegin = ( bufEnd = 0 ));
+ bufLen = 0;
+ status = false;
+ }
+@@ -207,16 +207,16 @@
+ {
+ if ( bufferLen >= 1 )
+ {
+- pBufCurrent = ( bufBegin = buffer );
+- bufEnd = bufBegin + bufferLen;
+- bufLen = bufferLen;
+- status = true;
++ this->pBufCurrent = ( this->bufBegin = buffer );
++ this->bufEnd = this->bufBegin + bufferLen;
++ this->bufLen = bufferLen;
++ this->status = true;
+ }
+ else
+ {
+- pBufCurrent = bufBegin = bufEnd = 0;
+- bufLen = 0;
+- status = false;
++ this->pBufCurrent = this->bufBegin = this->bufEnd = 0;
++ this->bufLen = 0;
++ this->status = false;
+ }
+ }
+ };
diff --git a/media-plugins/xmms-fc/xmms-fc-0.5.3.ebuild b/media-plugins/xmms-fc/xmms-fc-0.5.3.ebuild
index f33807f2e858..75c370e4a35d 100644
--- a/media-plugins/xmms-fc/xmms-fc-0.5.3.ebuild
+++ b/media-plugins/xmms-fc/xmms-fc-0.5.3.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-fc/xmms-fc-0.5.3.ebuild,v 1.6 2004/06/24 23:39:23 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-fc/xmms-fc-0.5.3.ebuild,v 1.7 2004/07/03 06:56:15 squinky86 Exp $
+
+inherit eutils
DESCRIPTION="Amiga Future Composer plug-in for XMMS"
HOMEPAGE="http://xmms-fc.sourceforge.net/"
@@ -14,6 +16,12 @@ KEYWORDS="x86 ~ppc"
IUSE=""
DEPEND="media-sound/xmms"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/xmms-fc-gcc34.patch
+}
+
src_install () {
make DESTDIR=${D} install || die
dodoc COPYING ChangeLog INSTALL README