diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-05-13 21:56:29 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-05-13 21:56:29 +0000 |
commit | 1bd5bb8b807edc948577f83a8f244ad1745e040d (patch) | |
tree | b769b402f100e101d5410470446b4df4b510e074 /net-misc | |
parent | Drop older versions, drop x86 stable keyword as per bug #125951. (diff) | |
download | gentoo-2-1bd5bb8b807edc948577f83a8f244ad1745e040d.tar.gz gentoo-2-1bd5bb8b807edc948577f83a8f244ad1745e040d.tar.bz2 gentoo-2-1bd5bb8b807edc948577f83a8f244ad1745e040d.zip |
Fixed patch.
(Portage version: 2.1_pre10-r5)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/d4x/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/d4x/files/d4x-2.5.7.1-speed.patch | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/net-misc/d4x/ChangeLog b/net-misc/d4x/ChangeLog index 9f75b5c521cd..51af6da36bb9 100644 --- a/net-misc/d4x/ChangeLog +++ b/net-misc/d4x/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/d4x # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/ChangeLog,v 1.41 2006/05/13 18:26:07 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/ChangeLog,v 1.42 2006/05/13 21:56:29 nelchael Exp $ + + 13 May 2006; Krzysiek Pawlik <nelchael@gentoo.org> + files/d4x-2.5.7.1-speed.patch: + Fixed patch. *d4x-2.5.7.1-r1 (13 May 2006) diff --git a/net-misc/d4x/files/d4x-2.5.7.1-speed.patch b/net-misc/d4x/files/d4x-2.5.7.1-speed.patch index 9ec0a661a07f..a26a1a92d724 100644 --- a/net-misc/d4x/files/d4x-2.5.7.1-speed.patch +++ b/net-misc/d4x/files/d4x-2.5.7.1-speed.patch @@ -1,5 +1,5 @@ ---- d4x-2.5.7.1.vanilla/main/socket.cc 2006-05-13 22:24:42.000000000 +0530 -+++ d4x-2.5.7.1/main/socket.cc 2006-05-13 22:26:54.000000000 +0530 +--- /var/tmp/portage/d4x-2.5.7.1-r1/work/d4x-2.5.7.1/main/socket.cc-orig 2006-05-13 22:24:42.000000000 +0530 ++++ /var/tmp/portage/d4x-2.5.7.1-r1/work/d4x-2.5.7.1/main/socket.cc 2006-05-13 22:26:54.000000000 +0530 @@ -164,11 +164,11 @@ if ((fd = socket(info.sin_family,SOCK_STREAM, 0)) < 0) return(SOCKET_CANT_ALLOCATE); @@ -10,7 +10,7 @@ size_t sl=2000; //set receive buffer to default+30% MTU size - setsockopt(fd,SOL_SOCKET,SO_RCVBUF,(char *)&sl,sizeof(sl)); -+ #setsockopt(fd,SOL_SOCKET,SO_RCVBUF,(char *)&sl,sizeof(sl)); ++ if (!connect_impl()) return(SOCKET_CANT_CONNECT); |