diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-06-19 20:47:23 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-06-19 20:47:23 +0000 |
commit | a58ca4bbbae9c18249ffe25cd3d5c725e87d7254 (patch) | |
tree | 7a754747f88ae60fd7922d18dda6e1bd6513523d /media-sound | |
parent | x86 stable (diff) | |
download | historical-a58ca4bbbae9c18249ffe25cd3d5c725e87d7254.tar.gz historical-a58ca4bbbae9c18249ffe25cd3d5c725e87d7254.tar.bz2 historical-a58ca4bbbae9c18249ffe25cd3d5c725e87d7254.zip |
Revbump to fix signed/unsigned issue which caused segfault on 64bit archs. Pusing into stable amd64. Closes bug #89751 thanks to Scott Smith <scott-gentoo@gelatinous.com>
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/toolame/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/toolame/Manifest | 15 | ||||
-rw-r--r-- | media-sound/toolame/files/digest-toolame-02l-r1 | 1 | ||||
-rw-r--r-- | media-sound/toolame/files/toolame-02l-uint.patch | 27 | ||||
-rw-r--r-- | media-sound/toolame/toolame-02l-r1.ebuild | 31 |
5 files changed, 82 insertions, 2 deletions
diff --git a/media-sound/toolame/ChangeLog b/media-sound/toolame/ChangeLog index 431f93afb836..e03b648e7fd6 100644 --- a/media-sound/toolame/ChangeLog +++ b/media-sound/toolame/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-sound/toolame # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/toolame/ChangeLog,v 1.10 2005/02/14 08:25:28 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/toolame/ChangeLog,v 1.11 2005/06/19 20:47:23 eradicator Exp $ + +*toolame-02l-r1 (19 Jun 2005) + + 19 Jun 2005; Jeremy Huddleston <eradicator@gentoo.org> + +files/toolame-02l-uint.patch, +toolame-02l-r1.ebuild: + Revbump to fix signed/unsigned issue which caused segfault on 64bit archs. + Pusing into stable amd64. Closes bug #89751 thanks to Scott Smith + <scott-gentoo@gelatinous.com> 14 Feb 2005; David Holm <dholm@gentoo.org> toolame-02l.ebuild: Added to ~ppc. diff --git a/media-sound/toolame/Manifest b/media-sound/toolame/Manifest index f872c7437964..5081637a70f7 100644 --- a/media-sound/toolame/Manifest +++ b/media-sound/toolame/Manifest @@ -1,5 +1,18 @@ -MD5 286064361fbe22178be7769aaf4722b7 ChangeLog 1073 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 9476823fe72a1e98fed78c85879ae8b1 ChangeLog 1401 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 MD5 dae1d26263992ccbfb3d2cb634b50ac5 toolame-02l.ebuild 664 +MD5 b9a495ef1e2b9a72ee656eff6492bd95 toolame-02l-r1.ebuild 715 MD5 5cc792797a252d3d4d12b9857d393ee8 files/digest-toolame-02l 60 MD5 03d22f398bef3ac46ba7c7a7910d2d80 files/toolame-02l-gentoo.diff 2153 +MD5 4b1a1622289b050b59a5243fae23d193 files/toolame-02l-uint.patch 950 +MD5 5cc792797a252d3d4d12b9857d393ee8 files/digest-toolame-02l-r1 60 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.1 (GNU/Linux) + +iD8DBQFCtdMMArHZZzCEUG0RAvoQAJwI03hPLLQK1e4PVCRv9MzANzgakQCfTKO9 +ej/GQKNhH1zZ7xpVA32GtSQ= +=a6Ti +-----END PGP SIGNATURE----- diff --git a/media-sound/toolame/files/digest-toolame-02l-r1 b/media-sound/toolame/files/digest-toolame-02l-r1 new file mode 100644 index 000000000000..28158002d0e5 --- /dev/null +++ b/media-sound/toolame/files/digest-toolame-02l-r1 @@ -0,0 +1 @@ +MD5 5946e2dd78fbb57e54386b3b5d873fee toolame-02l.tgz 127493 diff --git a/media-sound/toolame/files/toolame-02l-uint.patch b/media-sound/toolame/files/toolame-02l-uint.patch new file mode 100644 index 000000000000..619c98bb4547 --- /dev/null +++ b/media-sound/toolame/files/toolame-02l-uint.patch @@ -0,0 +1,27 @@ +diff -aur toolame-02l/audio_read.c toolame-02l-fixed/audio_read.c +--- toolame-02l/audio_read.c 2003-03-01 17:18:30.000000000 -0800 ++++ toolame-02l-fixed/audio_read.c 2005-04-19 22:32:41.288998770 -0700 +@@ -436,7 +436,7 @@ + + if (pcm_aiff_data->sampleSize != sizeof (short) * BITS_IN_A_BYTE) { + fprintf (stderr, "Sound data is not %d bits in \"%s\".\n", +- sizeof (short) * BITS_IN_A_BYTE, file_name); ++ (int)(sizeof (short) * BITS_IN_A_BYTE), file_name); + exit (1); + } + +diff -aur toolame-02l/fft.c toolame-02l-fixed/fft.c +--- toolame-02l/fft.c 2003-03-01 23:14:45.000000000 -0800 ++++ toolame-02l-fixed/fft.c 2005-04-19 22:47:49.019986989 -0700 +@@ -1190,9 +1190,9 @@ + static FLOAT atan_t[ATANSIZE]; + + INLINE FLOAT atan_table(FLOAT y, FLOAT x) { +- int index; ++ unsigned int index; + +- index = (int)(ATANSCALE * fabs(y/x)); ++ index = (unsigned int)(ATANSCALE * fabs(y/x)); + if (index>=ATANSIZE) + index = ATANSIZE-1; + diff --git a/media-sound/toolame/toolame-02l-r1.ebuild b/media-sound/toolame/toolame-02l-r1.ebuild new file mode 100644 index 000000000000..9918a1b05852 --- /dev/null +++ b/media-sound/toolame/toolame-02l-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/toolame/toolame-02l-r1.ebuild,v 1.1 2005/06/19 20:47:23 eradicator Exp $ + +IUSE="" + +inherit eutils + +DESCRIPTION="tooLAME - an optimized mpeg 1/2 layer 2 audio encoder" +HOMEPAGE="http://www.planckenergy.com" +SRC_URI="mirror://sourceforge/toolame/${P}.tgz" + +SLOT="0" +LICENSE="LGPL-2.1" +KEYWORDS="amd64 ~sparc ~x86 ~ppc" + +DEPEND="virtual/libc + sys-devel/gcc" + +src_compile() { + epatch ${FILESDIR}/${P}-gentoo.diff || die + epatch ${FILESDIR}/${P}-uint.patch || die + emake || die +} + +src_install() { + dobin toolame || die + dodoc README HISTORY FUTURE html/* text/* +} + + |