diff options
author | Jon Hood <squinky86@gentoo.org> | 2004-07-03 07:17:00 +0000 |
---|---|---|
committer | Jon Hood <squinky86@gentoo.org> | 2004-07-03 07:17:00 +0000 |
commit | ef64f4648aae07f885ad5f183d94203951b3f656 (patch) | |
tree | c601cb6f1683f7816372bf8f96697c39da33ee16 /media-libs/libsidplay | |
parent | add gcc-3.4 patch, closes #54254 (Manifest recommit) (diff) | |
download | gentoo-2-ef64f4648aae07f885ad5f183d94203951b3f656.tar.gz gentoo-2-ef64f4648aae07f885ad5f183d94203951b3f656.tar.bz2 gentoo-2-ef64f4648aae07f885ad5f183d94203951b3f656.zip |
yummy gcc-3.4 goodness- never make patches at 2:00 AM; added IUSE; closes #53322
Diffstat (limited to 'media-libs/libsidplay')
-rw-r--r-- | media-libs/libsidplay/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/libsidplay/files/libsidplay-gcc34.patch | 36 | ||||
-rw-r--r-- | media-libs/libsidplay/libsidplay-1.36.54.ebuild | 3 | ||||
-rw-r--r-- | media-libs/libsidplay/libsidplay-1.36.57.ebuild | 11 |
4 files changed, 53 insertions, 3 deletions
diff --git a/media-libs/libsidplay/ChangeLog b/media-libs/libsidplay/ChangeLog index 4bb8d75224e9..ee89c696abc5 100644 --- a/media-libs/libsidplay/ChangeLog +++ b/media-libs/libsidplay/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/libsidplay # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libsidplay/ChangeLog,v 1.13 2004/07/01 08:00:37 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsidplay/ChangeLog,v 1.14 2004/07/03 07:17:00 squinky86 Exp $ + + 03 Jul 2004; Jon Hood <squinky86@gentoo.org> +files/libsidplay-gcc34.patch, + libsidplay-1.36.57.ebuild: + add gcc-3.4 patch, closes #53322, added IUSE 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> libsidplay-1.36.54.ebuild, libsidplay-1.36.57.ebuild: diff --git a/media-libs/libsidplay/files/libsidplay-gcc34.patch b/media-libs/libsidplay/files/libsidplay-gcc34.patch new file mode 100644 index 000000000000..134b227cac14 --- /dev/null +++ b/media-libs/libsidplay/files/libsidplay-gcc34.patch @@ -0,0 +1,36 @@ +diff -Naur libsidplay/src/smart.h xmms-fc-0.5.3/src/smart.h +--- libsidplay.vanilla/src/smart.h 1998-11-30 13:10:00.000000000 -0600 ++++ libsidplay/src/smart.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-libs/libsidplay/libsidplay-1.36.54.ebuild b/media-libs/libsidplay/libsidplay-1.36.54.ebuild index abcf875e1a3d..b2f7ee41858c 100644 --- a/media-libs/libsidplay/libsidplay-1.36.54.ebuild +++ b/media-libs/libsidplay/libsidplay-1.36.54.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libsidplay/libsidplay-1.36.54.ebuild,v 1.8 2004/07/01 08:00:37 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsidplay/libsidplay-1.36.54.ebuild,v 1.9 2004/07/03 07:17:00 squinky86 Exp $ S=${WORKDIR}/${P} +IUSE="" DESCRIPTION="C64 SID player library" HOMEPAGE="http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/linux.html" SRC_URI="http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/packages/${P}.tgz" diff --git a/media-libs/libsidplay/libsidplay-1.36.57.ebuild b/media-libs/libsidplay/libsidplay-1.36.57.ebuild index 5fa4f69a8ebb..fc194fcc20d0 100644 --- a/media-libs/libsidplay/libsidplay-1.36.57.ebuild +++ b/media-libs/libsidplay/libsidplay-1.36.57.ebuild @@ -1,7 +1,10 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libsidplay/libsidplay-1.36.57.ebuild,v 1.10 2004/07/01 08:00:37 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsidplay/libsidplay-1.36.57.ebuild,v 1.11 2004/07/03 07:17:00 squinky86 Exp $ +inherit eutils + +IUSE="" DESCRIPTION="C64 SID player library" HOMEPAGE="http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/linux.html" SRC_URI="http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/packages/${P}.tgz" @@ -12,6 +15,12 @@ KEYWORDS="x86 sparc alpha hppa ia64 ~ppc" DEPEND="virtual/libc" +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/libsidplay-gcc34.patch +} + src_install() { make DESTDIR=${D} install || die dodoc AUTHORS COPYING DEVELOPER INSTALL |