[kde-freebsd] Kopete/Yahoo! connection problem
Douglas Berry
bitnix at bitnix.ca
Fri Sep 25 01:30:59 CEST 2009
I have been experiencing the problem, and found a
posting by Sverre Froyen on kopete-devel who was having
the same problem on NetBSD-current amd64. He has debugged
and developed a patch that fixes it for me as well.
Is anyone else experiencing the problem?
I'm using FreeBSD 8.0-RC1 r197282 on i386
with up to date kde4 from ports. This problem
doesn't surface on kubuntu 9.04
patch follows
------------%<--snip------
--- kdecore/network/k3socketdevice.cpp.orig 2009-09-24 09:21:38.000000000 -0600
+++ kdecore/network/k3socketdevice.cpp 2009-09-24 09:23:15.000000000 -0600
@@ -352,9 +352,13 @@ bool KSocketDevice::connect(const KResol
if (kde_connect(m_sockfd, address.address(), address.length()) == -1)
{
if (errno == EISCONN)
- return true; // we're already connected
+ {
+ KActiveSocketBase::open(Unbuffered | mode);
+ return true; // we're already connected
+ }
else if (errno == EALREADY || errno == EINPROGRESS)
{
+ KActiveSocketBase::open(Unbuffered | mode);
setError(InProgress);
return true;
}
------------%<--snip------
--
cheers,
doug
More information about the kde-freebsd
mailing list