[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 65104] kdebase-3.2alpha2 build fails on Solaris due to
From:       Torsten Kasch <tk () Genetik ! Uni-Bielefeld ! DE>
Date:       2003-09-28 16:32:01
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=65104     




------- Additional Comments From tk@Genetik.Uni-Bielefeld.DE  2003-09-28 18:32 -------
Created an attachment (id=2612)
 --> (http://bugs.kde.org/attachment.cgi?id=2612&action=view)
patch for kde-common/admin/acinclude.m4.in

The problematic code seems to be the following lines from "config.h":

--- snip ---
#if !defined(HAVE_GETDOMAINNAME_PROTO)
#ifdef __cplusplus
extern "C"
#endif
int getdomainname (char *, size_t);
#endif
--- snip ---

This check needs to #include <sys/types.h> (at least on Solaris) for "size_t"
to be defined for the compiler. So far I've found 2 solutions for this issue:

* remove the HAVE_GETDOMAINNAME_PROTO test completely since there's no
getdomainname() on Solaris (see bug 50754)

* apply the attached patch, works for me, but I'm not sure if it is the correct
way to do this (I'm sure, Stephan will tell me... ;-)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic