[kde-freebsd] Kopete/Yahoo! connection problem

Raphael Kubo da Costa kubito at gmail.com
Sun Sep 27 19:51:33 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------

Hi there,

I'm not at home at the moment so I can't review it properly yet.
Anyway, this is a kdelibs fix, so it would be nice if you subscribed
to the kde-core-devel sent this patch there (or via Review Board), so
it can be properly integrated upstream.

Thanks.


More information about the kde-freebsd mailing list