diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2008-10-10 13:24:17 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2008-10-10 13:24:17 +0000 |
commit | ebc31c9fb43af2107cecfbdf5c56eb1c00a7e251 (patch) | |
tree | 48c14124908bc4b677e3682ec526ea1b126c7886 /net-misc | |
parent | Version bump. (diff) | |
download | gentoo-2-ebc31c9fb43af2107cecfbdf5c56eb1c00a7e251.tar.gz gentoo-2-ebc31c9fb43af2107cecfbdf5c56eb1c00a7e251.tar.bz2 gentoo-2-ebc31c9fb43af2107cecfbdf5c56eb1c00a7e251.zip |
Added fix for bug #240552
(Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc9 x86_64)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/aria2/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/aria2/aria2-0.16.0.ebuild | 5 | ||||
-rw-r--r-- | net-misc/aria2/files/0.16.0-missing_includes.patch | 21 |
3 files changed, 30 insertions, 2 deletions
diff --git a/net-misc/aria2/ChangeLog b/net-misc/aria2/ChangeLog index a98180a2cfb8..a3ffb66bf792 100644 --- a/net-misc/aria2/ChangeLog +++ b/net-misc/aria2/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/aria2 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.32 2008/10/07 21:57:37 gentoofan23 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.33 2008/10/10 13:24:17 dev-zero Exp $ + + 10 Oct 2008; Tiziano Müller <dev-zero@gentoo.org> + +files/0.16.0-missing_includes.patch, aria2-0.16.0.ebuild: + Added fix for bug #240552 07 Oct 2008; Thomas Anderson <gentoofan23@gentoo.org> aria2-0.15.3.ebuild: stable amd64, bug 240296 --- Thanks Chad for testing diff --git a/net-misc/aria2/aria2-0.16.0.ebuild b/net-misc/aria2/aria2-0.16.0.ebuild index b4a2f943c49e..5fc525c8be85 100644 --- a/net-misc/aria2/aria2-0.16.0.ebuild +++ b/net-misc/aria2/aria2-0.16.0.ebuild @@ -1,9 +1,11 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/aria2-0.16.0.ebuild,v 1.1 2008/10/06 16:09:21 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/aria2-0.16.0.ebuild,v 1.2 2008/10/10 13:24:17 dev-zero Exp $ EAPI="2" +inherit eutils + MY_P="aria2c-${PV/_p/+}" DESCRIPTION="A download utility with resuming and segmented downloading with HTTP/HTTPS/FTP/BitTorrent support." @@ -34,6 +36,7 @@ RDEPEND="${CDEPEND} S="${WORKDIR}/${MY_P}" src_prepare() { + epatch "${FILESDIR}/${PV}-missing_includes.patch" sed -i -e "s|/tmp|${T}|" test/*.cc || die "sed failed" } diff --git a/net-misc/aria2/files/0.16.0-missing_includes.patch b/net-misc/aria2/files/0.16.0-missing_includes.patch new file mode 100644 index 000000000000..5cfa4a8968f7 --- /dev/null +++ b/net-misc/aria2/files/0.16.0-missing_includes.patch @@ -0,0 +1,21 @@ +diff -Naur aria2c-0.16.0.orig/src/BtRuntime.h aria2c-0.16.0/src/BtRuntime.h +--- aria2c-0.16.0.orig/src/BtRuntime.h 2008-10-10 14:25:15.000000000 +0200 ++++ aria2c-0.16.0/src/BtRuntime.h 2008-10-10 14:41:46.000000000 +0200 +@@ -45,7 +45,7 @@ + uint64_t uploadLengthAtStartup; + uint16_t port; + bool halt; +- unsigned int connections; ++ size_t connections; + bool _ready; + + static const unsigned int MIN_PEERS = 40; +@@ -81,7 +81,7 @@ + this->halt = halt; + } + +- unsigned int getConnections() const { return connections; } ++ size_t getConnections() const { return connections; } + + void increaseConnections() { connections++; } + |