diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-03-20 16:23:40 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-03-20 16:23:40 +0000 |
commit | fc5abc3b3653bc5a28a3eb4607d08eb71801d542 (patch) | |
tree | 7ba4d0960c6848fe40b9ecc62ebb673472d01ea7 /media-plugins | |
parent | Add new ebuild. (Manifest recommit) (diff) | |
download | gentoo-2-fc5abc3b3653bc5a28a3eb4607d08eb71801d542.tar.gz gentoo-2-fc5abc3b3653bc5a28a3eb4607d08eb71801d542.tar.bz2 gentoo-2-fc5abc3b3653bc5a28a3eb4607d08eb71801d542.zip |
Added patch to fix detection of MP3 frame header. Submitted in bug #44838 by Eric Villani <caligari@libertysurf.fr>.
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/xmms-mad/ChangeLog | 12 | ||||
-rw-r--r-- | media-plugins/xmms-mad/Manifest | 3 | ||||
-rw-r--r-- | media-plugins/xmms-mad/files/digest-xmms-mad-0.5.6-r1 (renamed from media-plugins/xmms-mad/files/digest-xmms-mad-0.5.6) | 0 | ||||
-rw-r--r-- | media-plugins/xmms-mad/files/xmms-mad-0.5.6-mp3header.patch | 11 | ||||
-rw-r--r-- | media-plugins/xmms-mad/xmms-mad-0.5.6-r1.ebuild (renamed from media-plugins/xmms-mad/xmms-mad-0.5.6.ebuild) | 8 |
5 files changed, 31 insertions, 3 deletions
diff --git a/media-plugins/xmms-mad/ChangeLog b/media-plugins/xmms-mad/ChangeLog index 5e77c4a0e502..069c73c4f6c0 100644 --- a/media-plugins/xmms-mad/ChangeLog +++ b/media-plugins/xmms-mad/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-plugins/xmms-mad -# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-mad/ChangeLog,v 1.12 2004/01/21 09:27:27 raker Exp $ +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-mad/ChangeLog,v 1.13 2004/03/20 16:23:40 eradicator Exp $ + +*xmms-mad-0.5.6-r1 (20 Mar 2004) + + 20 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org> + xmms-mad-0.5.6-r1.ebuild, xmms-mad-0.5.6.ebuild, + files/xmms-mad-0.5.6-mp3header.patch: + Added patch to fix detection of MP3 frame header. Submitted in bug #44838 by + Eric Villani <caligari@libertysurf.fr>. *xmms-mad-0.5.6 (21 Jan 2004) diff --git a/media-plugins/xmms-mad/Manifest b/media-plugins/xmms-mad/Manifest index f3a2c28c1f5c..8ca910ee9693 100644 --- a/media-plugins/xmms-mad/Manifest +++ b/media-plugins/xmms-mad/Manifest @@ -1,8 +1,11 @@ +MD5 29f1321aa2027713e487e70d89006b71 xmms-mad-0.5.6-r1.ebuild 675 MD5 544abfb48584661f2e7c44224850bde4 xmms-mad-0.5.4.ebuild 603 MD5 2c6ea7f42d36d44a3edd8d46e12434c0 ChangeLog 2269 MD5 5c156f52ee94f5cca417d2a707041723 xmms-mad-0.5.6.ebuild 603 MD5 05ab4d4775083f0930841e415df18ad6 metadata.xml 160 MD5 d2c8e864bdaf2bd34192f0118f405ccc xmms-mad-0.5.1.ebuild 616 +MD5 350dfbdff3b0bd886ccf5901867a30e3 files/digest-xmms-mad-0.5.6-r1 66 MD5 45af32585facd4bbd399d84dfd7a487f files/digest-xmms-mad-0.5.1 66 MD5 6beb565736a5fd5e7f7caaf3076efe4d files/digest-xmms-mad-0.5.4 66 MD5 350dfbdff3b0bd886ccf5901867a30e3 files/digest-xmms-mad-0.5.6 66 +MD5 a67a8be5b9a6f622f7edea90002e7bf7 files/xmms-mad-0.5.6-mp3header.patch 448 diff --git a/media-plugins/xmms-mad/files/digest-xmms-mad-0.5.6 b/media-plugins/xmms-mad/files/digest-xmms-mad-0.5.6-r1 index c1bdbe2dbe5d..c1bdbe2dbe5d 100644 --- a/media-plugins/xmms-mad/files/digest-xmms-mad-0.5.6 +++ b/media-plugins/xmms-mad/files/digest-xmms-mad-0.5.6-r1 diff --git a/media-plugins/xmms-mad/files/xmms-mad-0.5.6-mp3header.patch b/media-plugins/xmms-mad/files/xmms-mad-0.5.6-mp3header.patch new file mode 100644 index 000000000000..e91abce38b66 --- /dev/null +++ b/media-plugins/xmms-mad/files/xmms-mad-0.5.6-mp3header.patch @@ -0,0 +1,11 @@ +--- src/xmms-mad.c 2003-12-28 16:18:40.000000000 +0100 ++++ src/xmms-mad.c 2004-03-16 13:14:12.000000000 +0100 +@@ -95,7 +95,7 @@ + if (fin >= 0 && read (fin, check, 4) == 4) + { + /* If first two bytes are a sync header or three bytes are "ID3" */ +- if ( (check[0] == 0xff && (check[1] & 0x70) == 0x70) ++ if ( (check[0] == 0xff && (check[1] & 0xE0) == 0xE0) + || memcmp (check, "ID3", 3) == 0) + { + rtn = 1; diff --git a/media-plugins/xmms-mad/xmms-mad-0.5.6.ebuild b/media-plugins/xmms-mad/xmms-mad-0.5.6-r1.ebuild index 27a024096857..a670bfcbb141 100644 --- a/media-plugins/xmms-mad/xmms-mad-0.5.6.ebuild +++ b/media-plugins/xmms-mad/xmms-mad-0.5.6-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-mad/xmms-mad-0.5.6.ebuild,v 1.1 2004/01/21 09:27:27 raker Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-mad/xmms-mad-0.5.6-r1.ebuild,v 1.1 2004/03/20 16:23:40 eradicator Exp $ DESCRIPTION="A XMMS plugin for MAD" HOMEPAGE="http://xmms-mad.sourceforge.net/" @@ -14,6 +14,12 @@ DEPEND="media-sound/xmms >=media-sound/mad-0.14.2b-r2 dev-util/pkgconfig" +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-mp3header.patch +} + src_install() { make DESTDIR=${D} install || die "Make failed" dodoc AUTHORS COPYING ChangeLog NEWS README |