Andy Fawcett schrieb:
> On Saturday 11 February 2006 22:16, Kris Kennaway wrote:
> 
>> legacy.cpp legacy.cpp: In method `void
>> KSMServer::performLegacySessionSave()': legacy.cpp:179: aggregate
>> `struct timeval tmwait' has incomplete type and cannot be initialized
>> gmake[3]: *** [legacy.lo] Error 1
> 
> ---
> From: "Robert" <[EMAIL PROTECTED]>
>   To: "freeBSD ports" <[EMAIL PROTECTED]>
> Date: Yesterday 05:07:27
>    
> Hello -
> 
> after trying for a couple of days to upgrade my KDE installation from 
> 3.5 to the newer 3.5.1, on FreeBSD 4.11 compiled Jan 11, the system 
> kept bumping its head at "ksmserver/legacy.cpp" within kdebase-3.5.1_1 
> with something similar to the following message: "struct timeval tmwait 
> has incomplete type." This was very similar to KDE bug 18080, going all 
> the way back to the KDE 2.1 beta in 2001.  That particular bug report, 
> however, gave me the answer I needed to solve this problem: I got into 
> the "legacy.cpp" file (full 
> path: /usr/ports/x11/kdebase3/work/kdebase-3.5.1/ksmserver/legacy.cpp)
> and added the following to the top of the file: "#include <sys/time.h>".
> Restarting the "make install clean" cycle went perfectly from that point
> forward, and is still in process as I write this.
> 
> ---
> 
> I don't have a 4.x box to test against, or time to create a patch this 
> evening, but it sounds like a valid fix.

Looks like this is one of those rare but mean bugs that only surface if
you *don't* compile with WANT_KDE_FINAL. :)

CC'ing Adriaan for upstream committing - patch is at
http://people.freebsd.org/~lofi/kde-patches/kdebase/


Cheers,
-- 
   ,_,   | Michael Nottebrock               | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
kde-freebsd mailing list
[email protected]
http://freebsd.kde.org/mailman/listinfo/kde-freebsd

Reply via email to