diff options
Diffstat (limited to 'media-sound/mp3info')
-rw-r--r-- | media-sound/mp3info/files/cast.patch | 11 | ||||
-rw-r--r-- | media-sound/mp3info/files/digest-mp3info-0.8.4-r2 | 3 | ||||
-rw-r--r-- | media-sound/mp3info/files/mp3info-0.8.4-ldflags.patch | 17 | ||||
-rw-r--r-- | media-sound/mp3info/files/sanity-checks.patch | 14 | ||||
-rw-r--r-- | media-sound/mp3info/mp3info-0.8.4-r2.ebuild | 43 |
5 files changed, 0 insertions, 88 deletions
diff --git a/media-sound/mp3info/files/cast.patch b/media-sound/mp3info/files/cast.patch deleted file mode 100644 index fc8564d3ba6f..000000000000 --- a/media-sound/mp3info/files/cast.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- mp3info-0.8.4/textfunc.c.orig 2005-08-13 13:54:04.000000000 +0100 -+++ mp3info-0.8.4/textfunc.c 2005-08-13 13:55:44.000000000 +0100 -@@ -235,7 +235,7 @@ - if(*code) { - modlen=code-percent+1; - if(modlen > 1000) { -- printf("Format modifier beginning at position %d too long!\n",percent-format); -+ printf("Format modifier beginning at position %d too long!\n",(int)(percent-format)); - exit(5); - } - strncpy(mod,percent,modlen); diff --git a/media-sound/mp3info/files/digest-mp3info-0.8.4-r2 b/media-sound/mp3info/files/digest-mp3info-0.8.4-r2 deleted file mode 100644 index 0740790092ce..000000000000 --- a/media-sound/mp3info/files/digest-mp3info-0.8.4-r2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 879d0ced8ede5ec9fbaff4813851ea3f mp3info-0.8.4.tgz 38773 -RMD160 265db8a8c32956b485c4af8aa42f2f29d4bb0825 mp3info-0.8.4.tgz 38773 -SHA256 a850ab273fb0362e45ed01ffeca1a626ba4d0e65855549ac190a3c44e5803799 mp3info-0.8.4.tgz 38773 diff --git a/media-sound/mp3info/files/mp3info-0.8.4-ldflags.patch b/media-sound/mp3info/files/mp3info-0.8.4-ldflags.patch deleted file mode 100644 index e20e4565e783..000000000000 --- a/media-sound/mp3info/files/mp3info-0.8.4-ldflags.patch +++ /dev/null @@ -1,17 +0,0 @@ -Index: mp3info-0.8.4/Makefile -=================================================================== ---- mp3info-0.8.4.orig/Makefile -+++ mp3info-0.8.4/Makefile -@@ -52,10 +52,10 @@ all: mp3info gmp3info doc - doc: mp3info.txt - - mp3info: $(OBJS) -- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) - - gmp3info: $(XSRC) $(XOBJ) -- $(CC) $(XSRC) $(CFLAGS) -o $@ $(XOBJ) `gtk-config --cflags --libs` -+ $(CC) $(XSRC) $(CFLAGS) $(LDFLAGS) -o $@ $(XOBJ) `gtk-config --cflags --libs` - - mp3info.txt: mp3info.1 - groff -t -e -mandoc -Tascii mp3info.1 | col -bx > mp3info.txt diff --git a/media-sound/mp3info/files/sanity-checks.patch b/media-sound/mp3info/files/sanity-checks.patch deleted file mode 100644 index 0ed73597434f..000000000000 --- a/media-sound/mp3info/files/sanity-checks.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- mp3info-0.8.4/mp3tech.c.orig 2005-08-13 13:56:43.000000000 +0100 -+++ mp3info-0.8.4/mp3tech.c 2005-08-13 13:57:31.000000000 +0100 -@@ -244,6 +244,11 @@ - header->original=(buffer[3] >> 2) & 0x1; - header->emphasis=(buffer[3]) & 0x3; - -+ /* Final sanity checks: bitrate can not be 1111, frequency can not be 11 */ -+ if (header->bitrate == 0x0F || header->freq == 0x3) { -+ return 0; -+ } -+ - return ((fl=frame_length(header)) >= MIN_FRAME_SIZE ? fl : 0); - } - diff --git a/media-sound/mp3info/mp3info-0.8.4-r2.ebuild b/media-sound/mp3info/mp3info-0.8.4-r2.ebuild deleted file mode 100644 index 38fc300c2ba5..000000000000 --- a/media-sound/mp3info/mp3info-0.8.4-r2.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3info/mp3info-0.8.4-r2.ebuild,v 1.6 2007/03/02 12:47:47 genstef Exp $ - -inherit eutils toolchain-funcs - -IUSE="gtk" - -DESCRIPTION="An MP3 technical info viewer and ID3 1.x tag editor" -SRC_URI="http://ibiblio.org/pub/linux/apps/sound/mp3-utils/${PN}/${P}.tgz" -HOMEPAGE="http://ibiblio.org/mp3info/" - -RDEPEND="gtk? ( =x11-libs/gtk+-1.2* ) - sys-libs/ncurses" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" - -src_unpack() { - unpack ${A} - - cd ${S} - epatch "${FILESDIR}/gcc.patch" - epatch "${FILESDIR}/cast.patch" - epatch "${FILESDIR}/sanity-checks.patch" - epatch "${FILESDIR}/${P}-ldflags.patch" -} - -src_compile() { - emake mp3info CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die - if use gtk; then - emake gmp3info CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "gtk mp3info failed" - fi -} - -src_install() { - dobin mp3info - use gtk && dobin gmp3info - - dodoc ChangeLog README - doman mp3info.1 -} |