Re: kopete (KDE 4.3.0) and Yahoo (fixed)

Sverre Froyen <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.general
Organization Viewmark, Inc.
Message-ID <[email protected]>
On Wed September 30 2009 05:02:48 Mark Davies wrote:
> On Tuesday 29 September 2009 04:14:19 Sverre Froyen wrote:
> > It appears that not many use kopete with Yahoo, but for those who do and
> > have connection problems, the following patch (to kdelibs4) may help.
>
> I'll add the patch.  Has it been reported upstream?

It's been reported and accepted.  4.3.2 will have it.

See SVN commits 1028996 and 1028997.

> Also do you still (need to) define JDNS_MODERN_RES_API on -current and have
> a patch that works for that and 5.0?

4.3.1 still core dumps when logging into a Jabber server without it.  
Something like the attached patch might work but I'm having difficulty 
determining when res_ninit was added so I'm not sure that the 20090302 date is 
correct.

Thanks,
Sverre

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf

_______________________________________________
pkgsrc-wip-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss
patch-ab (text/x-patch, 533 B)
--- kopete/protocols/jabber/libiris/iris/jdns/jdns_sys.c.orig	2009-02-18 09:29:30.000000000 -0700
+++ kopete/protocols/jabber/libiris/iris/jdns/jdns_sys.c	2009-09-30 08:48:31.000000000 -0600
@@ -682,6 +682,9 @@ static jdns_dnsparams_t *dnsparams_get_u
 #if defined(__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 3)))
 # define JDNS_MODERN_RES_API
 #endif
+#if defined(__NetBSD__) && (__RES >= 20090302)
+# define JDNS_MODERN_RES_API
+#endif
 
 #ifndef JDNS_MODERN_RES_API
 typedef int (*res_init_func)();
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.