[kde-freebsd] Kopete/Yahoo! connection problem

Raphael Kubo da Costa kubito at gmail.com
Mon Sep 28 20:24:03 CEST 2009


2009/9/24 Douglas Berry <bitnix at bitnix.ca>:
> 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------
> --

OK, I've talked to the maintainer of this piece of code and he OK'd
the patch. I've committed it to trunk and backported it to 4.3.

Thanks!


More information about the kde-freebsd mailing list