Bug 243857 - build fails - undefined struct/union member: nsaddrs
Summary: build fails - undefined struct/union member: nsaddrs
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: Jabber Plugin (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-07 16:14 UTC by tropikhajma
Modified: 2010-11-14 21:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
patch (1.11 KB, patch)
2010-07-07 16:14 UTC, tropikhajma
Details

Note You need to log in before you can comment on or make changes to this bug.
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