Bug 243857

Summary: build fails - undefined struct/union member: nsaddrs
Product: [Unmaintained] kopete Reporter: tropikhajma <tropikhajma>
Component: Jabber PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: patch

Description tropikhajma 2010-07-07 16:14:58 UTC
Created attachment 48656 [details]
patch

Version:           unspecified (using Devel) 
OS:                Solaris

building kdenetwork from svn fails with
...
"/export/home/test/Dashboards/kdenetwork/srcdir/kopete/protocols/jabber/libiris/iris/jdns/jdns_sys.c", line 742: error: undefined struct/union member: nsaddrs
"/export/home/test/Dashboards/kdenetwork/srcdir/kopete/protocols/jabber/libiris/iris/jdns/jdns_sys.c", line 742: error: cannot dereference non-pointer type
"/export/home/test/Dashboards/kdenetwork/srcdir/kopete/protocols/jabber/libiris/iris/jdns/jdns_sys.c", line 742: warning: improper pointer/integer combination: op "="
cc: acomp failed for /export/home/test/Dashboards/kdenetwork/srcdir/kopete/protocols/jabber/libiris/iris/jdns/jdns_sys.c

the attached patch fixes that (basically it adds Solaris to the ifdef for mac and bsd)

Reproducible: Always
Comment 1 tropikhajma 2010-11-14 21:05:14 UTC
SVN commit 1197063 by pavelheimlich:

fix build on solaris
BUG: 243857


 M  +2 -0      jdns_p.h  
 M  +1 -1      jdns_sys.c  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1197063
Comment 2 tropikhajma 2010-11-14 21:39:53 UTC
SVN commit 1197070 by pavelheimlich:

add patch fixing build issue on solaris
CCMAIL: kopete-devel@kde.org
CCBUG:243857


 A             029_fix_compile_on_solaris.patch  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1197070