diff options
author | Raúl Porcel <armin76@gentoo.org> | 2007-12-17 20:04:43 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2007-12-17 20:04:43 +0000 |
commit | 13741c0a234d414ec20b871c79004fdffbbce887 (patch) | |
tree | 435834ab2ac2736f4493bfca117cb929a10b4c6b /net-p2p/ctorrent | |
parent | x86 stable and remove old (diff) | |
download | gentoo-2-13741c0a234d414ec20b871c79004fdffbbce887.tar.gz gentoo-2-13741c0a234d414ec20b871c79004fdffbbce887.tar.bz2 gentoo-2-13741c0a234d414ec20b871c79004fdffbbce887.zip |
Add patch from bug #202041, thanks to gionnico <gionnico at email dot it>
(Portage version: 2.1.4_rc10, RepoMan options: --force)
Diffstat (limited to 'net-p2p/ctorrent')
-rw-r--r-- | net-p2p/ctorrent/ChangeLog | 9 | ||||
-rw-r--r-- | net-p2p/ctorrent/ctorrent-3.2-r1.ebuild (renamed from net-p2p/ctorrent/ctorrent-3.2.ebuild) | 14 | ||||
-rw-r--r-- | net-p2p/ctorrent/files/3.2-setvbuf-removal.patch | 10 | ||||
-rw-r--r-- | net-p2p/ctorrent/files/digest-ctorrent-3.2-r1 (renamed from net-p2p/ctorrent/files/digest-ctorrent-3.2) | 0 |
4 files changed, 29 insertions, 4 deletions
diff --git a/net-p2p/ctorrent/ChangeLog b/net-p2p/ctorrent/ChangeLog index b2b6b42e97a9..7ae68e332322 100644 --- a/net-p2p/ctorrent/ChangeLog +++ b/net-p2p/ctorrent/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-p2p/ctorrent # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/ctorrent/ChangeLog,v 1.34 2007/09/01 11:43:05 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/ctorrent/ChangeLog,v 1.35 2007/12/17 20:04:43 armin76 Exp $ + +*ctorrent-3.2-r1 (17 Dec 2007) + + 17 Dec 2007; Raúl Porcel <armin76@gentoo.org> + +files/3.2-setvbuf-removal.patch, -ctorrent-3.2.ebuild, + +ctorrent-3.2-r1.ebuild: + Add patch from bug #202041, thanks to gionnico <gionnico at email dot it> 01 Sep 2007; Raúl Porcel <armin76@gentoo.org> -ctorrent-2.2.ebuild, -ctorrent-3.1.ebuild: diff --git a/net-p2p/ctorrent/ctorrent-3.2.ebuild b/net-p2p/ctorrent/ctorrent-3.2-r1.ebuild index b09e6bd4a84f..21fd0c1b7224 100644 --- a/net-p2p/ctorrent/ctorrent-3.2.ebuild +++ b/net-p2p/ctorrent/ctorrent-3.2-r1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/ctorrent/ctorrent-3.2.ebuild,v 1.4 2007/09/01 11:39:36 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/ctorrent/ctorrent-3.2-r1.ebuild,v 1.1 2007/12/17 20:04:43 armin76 Exp $ + +inherit eutils MY_P="${PN}-dnh${PV}" @@ -15,8 +17,14 @@ IUSE="" S="${WORKDIR}/${MY_P}" -DEPEND=">=sys-apps/sed-4 - dev-libs/openssl" +DEPEND="dev-libs/openssl" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${PV}-setvbuf-removal.patch +} src_install() { emake DESTDIR="${D}" install || die "emake install failed." diff --git a/net-p2p/ctorrent/files/3.2-setvbuf-removal.patch b/net-p2p/ctorrent/files/3.2-setvbuf-removal.patch new file mode 100644 index 000000000000..72969af1bddb --- /dev/null +++ b/net-p2p/ctorrent/files/3.2-setvbuf-removal.patch @@ -0,0 +1,10 @@ +--- btfiles.cpp.orig 2007-12-12 15:01:51.000000000 +0000 ++++ btfiles.cpp 2007-12-12 15:02:59.000000000 +0000 +@@ -126,7 +126,6 @@ + return -1; // caller prints error + }else return -1; // caller prints error + } +- setvbuf(pbf->bf_fp, m_buffer, _IOFBF, DEFAULT_SLICE_SIZE); + + pbf->bf_flag_opened = 1; + pbf->bf_flag_readonly = iotype ? 0 : 1; diff --git a/net-p2p/ctorrent/files/digest-ctorrent-3.2 b/net-p2p/ctorrent/files/digest-ctorrent-3.2-r1 index d959ebe8342d..d959ebe8342d 100644 --- a/net-p2p/ctorrent/files/digest-ctorrent-3.2 +++ b/net-p2p/ctorrent/files/digest-ctorrent-3.2-r1 |