diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2006-08-30 19:18:26 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2006-08-30 19:18:26 +0000 |
commit | 5aa9248797e86cca1fd4836a04fdc31a980f79fe (patch) | |
tree | 9f90ffad2cc7c177237b27cc007da010bacac3d7 /net-misc | |
parent | Remove scary README (diff) | |
download | gentoo-2-5aa9248797e86cca1fd4836a04fdc31a980f79fe.tar.gz gentoo-2-5aa9248797e86cca1fd4836a04fdc31a980f79fe.tar.bz2 gentoo-2-5aa9248797e86cca1fd4836a04fdc31a980f79fe.zip |
Fix bug #145307. Thanks to Sunil for the patch.
(Portage version: 2.1.1_rc1-r2)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/knutclient/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/knutclient/files/knutclient-0.9.diff | 11 | ||||
-rw-r--r-- | net-misc/knutclient/knutclient-0.9.ebuild | 4 |
3 files changed, 19 insertions, 2 deletions
diff --git a/net-misc/knutclient/ChangeLog b/net-misc/knutclient/ChangeLog index 3d14376e4d2f..01498c70299a 100644 --- a/net-misc/knutclient/ChangeLog +++ b/net-misc/knutclient/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/knutclient # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/knutclient/ChangeLog,v 1.21 2006/08/15 18:24:56 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/knutclient/ChangeLog,v 1.22 2006/08/30 19:18:26 carlo Exp $ + + 30 Aug 2006; Carsten Lohrke <carlo@gentoo.org> +files/knutclient-0.9.diff, + knutclient-0.9.ebuild: + Fix bug #145307. Thanks to Sunil for the patch. *knutclient-0.9 (15 Aug 2006) diff --git a/net-misc/knutclient/files/knutclient-0.9.diff b/net-misc/knutclient/files/knutclient-0.9.diff new file mode 100644 index 000000000000..6522e5e19b3d --- /dev/null +++ b/net-misc/knutclient/files/knutclient-0.9.diff @@ -0,0 +1,11 @@ +--- src/knutnet.cpp.orig 2006-08-29 18:29:57.000000000 -0700 ++++ src/knutnet.cpp 2006-08-29 18:33:33.000000000 -0700 +@@ -892,7 +892,7 @@ + dataAvailable=commandSocket->bytesAvailable(); + if (recvBuffer.size() < (dataAvailable+1) ) recvBuffer.resize(dataAvailable+1); + if ((lengthInputData = commandSocket->readBlock(recvBuffer.data(),dataAvailable)) == -1) return RecvErr; +- recvBuffer[lengthInputData]='\0'; ++ recvBuffer[static_cast<int>(lengthInputData)]='\0'; + rBuffer.append(recvBuffer.data()); // adds reading data to main input buffer + if (endString.isEmpty()) endRecv = false; + else { diff --git a/net-misc/knutclient/knutclient-0.9.ebuild b/net-misc/knutclient/knutclient-0.9.ebuild index 5780ed6c7c3f..f43e7e360fad 100644 --- a/net-misc/knutclient/knutclient-0.9.ebuild +++ b/net-misc/knutclient/knutclient-0.9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/knutclient/knutclient-0.9.ebuild,v 1.1 2006/08/15 18:24:56 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/knutclient/knutclient-0.9.ebuild,v 1.2 2006/08/30 19:18:26 carlo Exp $ inherit kde @@ -17,3 +17,5 @@ KEYWORDS="~amd64 ~ppc ~sparc ~x86" IUSE="" need-kde 3.5 + +PATCHES="${FILESDIR}/knutclient-0.9.diff"
\ No newline at end of file |