[kde-freebsd] Fix kio-slave fails on FreeBSD (trunk)

Alex Merry huntedhacker at tiscali.co.uk
Fri Jul 6 14:18:03 CEST 2007


On Friday 06 Jul 2007, you wrote:
> Hi Guys
>
> after 7 weeks of pain, i finally found why kio-slaves from trunk was
> failling on FreeBSD.
> actually is due a cmake test that it is no founding the setproctitle
> funtion on FreeBSD and then not creating the corresponding
> prepocessor HAVE_SETPROCTITLE directive.
>
> so until someone figure out how to fix this cmake issue i make this
> awful hack in kdelibs/kinit/proctitle.cpp that fix the problem ( only
> for freebsd users ;) )

Can I suggest you just put
#ifdef __FreeBSD__
#define HAVE_SETPROCTITLE 1
#endif

near the top of the file?

I'll try to get a FreeBSD partition set up so I can debug this properly.

Alex



-- 
KDE: http://www.kde.org
Ubuntu/Kubuntu: http://www.ubuntu.org http://www.kubuntu.org
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20070706/e929b0d6/attachment.pgp 


More information about the kde-freebsd mailing list