Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
net-misc/d4x version bump from 2.5.6 to 2.5.7.1 also need change SRC_URI to SRC_URI="http://d4x.krasu.ru/files/${P}.tar.bz2" and add to DEPEND dev-libs/boost
Created an attachment (id=85781) [details] files/d4x-2.5.7.1-libintl_fix.patch Required by ebuild.
Created an attachment (id=85782) [details] d4x-2.5.7.1.diff New ebuild.
Bumped, thanks.
Created an attachment (id=86709) [details] Patch for capped speeds in D4X D4X 2.5.7.1 suffers from a bug that caps the download speeds. Developer comments about it in the following link http://www.krasu.ru/soft/chuchelo/forum.php3?forumaction=showmessage&forummessage=2538 I am attaching a patch that solves the bug as explained by the developer.
Patch added in -r1. For future: please file a new bug for such issues.
(From update of attachment 86709 [details]) --- /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); int a=1; - setsockopt(fd,SOL_SOCKET,SO_KEEPALIVE,(char *)&a,sizeof(a)); + setsockopt(fd,SOL_SOCKET,SO_KEEPALIVE,(char *)&a,sizeof(a)); size_t sl=2000; //set receive buffer to default+30% MTU size - setsockopt(fd,SOL_SOCKET,SO_RCVBUF,(char *)&sl,sizeof(sl)); + if (!connect_impl()) return(SOCKET_CANT_CONNECT);