[kde-freebsd] 6.2-STABLE patches

Adriaan de Groot groot at kde.org
Mon May 4 14:12:22 CEST 2009


Since the EBN (the KDE project's source-code-quality-checking machine) runs 
6.2-STABLE, and it needs to build and run some KDE programs as part of the 
code-quality checking tool suite, there's a *bit* of a need to KDE 4.2.2 (the 
basic bits, at least) to run on 6.2-STABLE. I missed miwi's blog post (are 
you aggregated on planetkde.org?) so it was a bit of a surprise to find 
6-STABLE entirely unsupported. Find attached patches that fix *some* of the 
issues, for kdelibs, pimlibs. Still working on kdebase-workspace (which is as 
far as I've gotten).

kjs' CMakeLists.txt omits pthread from the libraries; this seems like an 
innocuous fix for FreeBSD, although a *better* fix upstream would be to add 
the PTHREAD_LIBRARIES (or whatever it's called) to the link there.

kdepimlibs has an issue with unsetenv(), which changed from returning void to 
int between 6- and 7-. Notice that (older) MacOSX has a similar issue. This 
patch is a gross hack, simply selecting the MacOSX void-return behavior. The 
right thing to do here is test the FreeBSD version, but I couldn't look up 
fast enough how to do that.

-- 
These are your friends - Adem
    GPG: FEA2 A3FE Adriaan de Groot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdepimlibs.diff
Type: text/x-diff
Size: 697 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20090504/ed018065/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kjs.diff
Type: text/x-diff
Size: 368 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20090504/ed018065/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20090504/ed018065/attachment.sig 


More information about the kde-freebsd mailing list