# ChangeLog for app-misc/rioutil
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/rioutil/ChangeLog,v 1.22 2005/07/21 17:25:30 dholm Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/rioutil/ChangeLog,v 1.23 2006/10/08 11:15:11 jokey Exp $
+
+*rioutil-1.5.0 (08 Oct 2006)
+
+ 08 Oct 2006; Markus Ullmann <jokey@gentoo.org>
+ -files/rioutil-1.5.0b-time.patch, +files/rioutil-gcc4.1.1.patch,
+ rioutil-1.4.4.ebuild, -rioutil-1.4.7.ebuild, +rioutil-1.5.0.ebuild,
+ -rioutil-1.5.0b.ebuild:
+ GCC 4.1 cleanup wrt bug #147240
21 Jul 2005; David Holm <dholm@gentoo.org> rioutil-1.5.0b.ebuild:
Added to ~ppc.
MD5 926eda6ef95a4b2a9a9b4ba1dc52c3d9 rioutil-1.4.4.tar.bz2 278386
+RMD160 bd78dce4009983b2d9845321f705c2d42fa2236e rioutil-1.4.4.tar.bz2 278386
+SHA256 16241d018370fa188cf8e3d4c949d65af5f73d22ffc1137e1add6335039a8b3f rioutil-1.4.4.tar.bz2 278386
--- /dev/null
+MD5 0663d52c97fb20dfc93185ac805e5048 rioutil-1.5.0.tar.gz 401244
+RMD160 2f1db9eb36501aecdb388278d5f7c1876bfebf19 rioutil-1.5.0.tar.gz 401244
+SHA256 4991cda30bcd0cd01097c4d220c5facf67e988d4bbfc2f272a359ac89d52e9a7 rioutil-1.5.0.tar.gz 401244
--- /dev/null
+--- rioutil-1.4.4.orig/librioutil/rio.c
++++ rioutil-1.4.4/librioutil/rio.c
+@@ -373,7 +373,7 @@
+ return ret;
+ }
+
+- iptr = (u_int32_t *)read_buffer = (u_int8_t *) malloc (RIO_FTS);
++ iptr = (u_int32_t *)(read_buffer = (u_int8_t *) malloc (RIO_FTS));
+ if (read_buffer == NULL) {
+ rio_log (rio, errno, "Could not allocate read buffer\n");
+ return errno;
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/rioutil/rioutil-1.4.4.ebuild,v 1.11 2005/04/22 09:03:10 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/rioutil/rioutil-1.4.4.ebuild,v 1.12 2006/10/08 11:15:11 jokey Exp $
inherit eutils
dev-libs/libusb"
src_unpack() {
- unpack ${A} || die 'Failed to unpack!'
+ unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-26headers.patch"
+ epatch "${FILESDIR}/${PN}-gcc4.1.1.patch"
}
src_compile() {
- econf --with-usbdevfs || die
- emake || die "emake failure"
+ econf --with-usbdevfs || die "econf failed"
+ emake || die "emake failed"
}
src_install() {
einstall || die
- dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
+ dodoc AUTHORS ChangeLog NEWS README TODO
}
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/rioutil/rioutil-1.5.0.ebuild,v 1.1 2006/10/08 11:15:11 jokey Exp $
+
+inherit eutils
+
+DESCRIPTION="Command line tool for transfering mp3s to and from a Rio 600, 800, Rio Riot, and Nike PSA/Play"
+HOMEPAGE="http://rioutil.sourceforge.net/"
+SRC_URI="mirror://sourceforge/rioutil/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="sys-libs/zlib
+ virtual/libc
+ dev-libs/libusb"
+
+src_install() {
+ emake DESTDIR=${D} install || die
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}