diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2008-11-05 13:11:47 +0000 |
---|---|---|
committer | Peter Alfredsen <loki_val@gentoo.org> | 2008-11-05 13:11:47 +0000 |
commit | 32f599ca8a794fb545893e2df8b15bb354957a37 (patch) | |
tree | d29abcb54bf364f832c362432c1b276e89e7b0b1 /media-libs/libcdaudio | |
parent | share Module.symvers between all compiled modules, patch from Peter Volkov in... (diff) | |
download | gentoo-2-32f599ca8a794fb545893e2df8b15bb354957a37.tar.gz gentoo-2-32f599ca8a794fb545893e2df8b15bb354957a37.tar.bz2 gentoo-2-32f599ca8a794fb545893e2df8b15bb354957a37.zip |
Fix for bug 245649.
(Portage version: 2.2_rc13/cvs/Linux 2.6.27 x86_64)
Diffstat (limited to 'media-libs/libcdaudio')
-rw-r--r-- | media-libs/libcdaudio/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/libcdaudio/files/libcdaudio-0.99.12-bug245649.patch | 13 | ||||
-rw-r--r-- | media-libs/libcdaudio/libcdaudio-0.99.12-r1.ebuild | 31 | ||||
-rw-r--r-- | media-libs/libcdaudio/libcdaudio-0.99.12.ebuild | 4 |
4 files changed, 54 insertions, 4 deletions
diff --git a/media-libs/libcdaudio/ChangeLog b/media-libs/libcdaudio/ChangeLog index 2e135b09cc07..56c6a3554e45 100644 --- a/media-libs/libcdaudio/ChangeLog +++ b/media-libs/libcdaudio/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/libcdaudio -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libcdaudio/ChangeLog,v 1.35 2006/12/07 02:22:36 flameeyes Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libcdaudio/ChangeLog,v 1.36 2008/11/05 13:11:47 loki_val Exp $ + +*libcdaudio-0.99.12-r1 (05 Nov 2008) + + 05 Nov 2008; Peter Alfredsen <loki_val@gentoo.org> + +files/libcdaudio-0.99.12-bug245649.patch, +libcdaudio-0.99.12-r1.ebuild: + Fix for bug 245649. 07 Dec 2006; Diego Pettenò <flameeyes@gentoo.org> libcdaudio-0.99.12.ebuild: diff --git a/media-libs/libcdaudio/files/libcdaudio-0.99.12-bug245649.patch b/media-libs/libcdaudio/files/libcdaudio-0.99.12-bug245649.patch new file mode 100644 index 000000000000..988c4c21c85d --- /dev/null +++ b/media-libs/libcdaudio/files/libcdaudio-0.99.12-bug245649.patch @@ -0,0 +1,13 @@ +--- src/cddb.c ++++ src/cddb.c +@@ -1679,7 +1679,7 @@ cddb_read_disc_data(int cd_desc, struct disc_data *outdata) + free(file); + + while(!feof(cddb_data)) { +- fgets(inbuffer, 512, cddb_data); ++ fgets(inbuffer, 256, cddb_data); + cddb_process_line(inbuffer, data); + } + + + diff --git a/media-libs/libcdaudio/libcdaudio-0.99.12-r1.ebuild b/media-libs/libcdaudio/libcdaudio-0.99.12-r1.ebuild new file mode 100644 index 000000000000..d49eb9786420 --- /dev/null +++ b/media-libs/libcdaudio/libcdaudio-0.99.12-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libcdaudio/libcdaudio-0.99.12-r1.ebuild,v 1.1 2008/11/05 13:11:47 loki_val Exp $ + +inherit eutils + +DESCRIPTION="Library of cd audio related routines" +HOMEPAGE="http://libcdaudio.sourceforge.net/" +SRC_URI="mirror://sourceforge/libcdaudio/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-0.99-CAN-2005-0706.patch #84936 + epatch "${FILESDIR}"/${P}-bug245649.patch +} + +src_compile() { + econf --enable-threads || die "configure failed" + emake || die "compile problem." +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangLog NEWS README TODO +} diff --git a/media-libs/libcdaudio/libcdaudio-0.99.12.ebuild b/media-libs/libcdaudio/libcdaudio-0.99.12.ebuild index 29b8fc5adda5..236a285db479 100644 --- a/media-libs/libcdaudio/libcdaudio-0.99.12.ebuild +++ b/media-libs/libcdaudio/libcdaudio-0.99.12.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libcdaudio/libcdaudio-0.99.12.ebuild,v 1.11 2006/12/07 02:22:36 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libcdaudio/libcdaudio-0.99.12.ebuild,v 1.12 2008/11/05 13:11:47 loki_val Exp $ inherit eutils |