Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 196570

Summary: kde-base/ksim-3.5.8 does not compile in FreeBSD
Product: Gentoo/Alt Reporter: Joe Peterson (RETIRED) <lavajoe>
Component: FreeBSDAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: bsd+disabled
Priority: High    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ksim-3.5.8.ebuild
files/ksim-3.5.8-freebsd.patch
ksim-3.5.8.ebuild

Description Joe Peterson (RETIRED) gentoo-dev 2007-10-21 05:43:45 UTC
ksim-3.5.8/ksim/monitors/filesystem/filesystemstats.cpp fails to compile because it checks for DragonFly [BSD] but not FreeBSD in several preprocessor conditionals.  I will attach the patch that fixes this next.

I have it ready check in, so let me know if you want me to do so.

P.S.  In general, for these kinds of "trivial" arch fixes, let me know if we should just check in such changes rather than ask.
Comment 1 Joe Peterson (RETIRED) gentoo-dev 2007-10-21 05:44:55 UTC
Created attachment 134005 [details, diff]
ksim-3.5.8.ebuild

Applies patch to fix this for FreeBSD
Comment 2 Joe Peterson (RETIRED) gentoo-dev 2007-10-21 05:45:24 UTC
Created attachment 134007 [details, diff]
files/ksim-3.5.8-freebsd.patch
Comment 3 Joe Peterson (RETIRED) gentoo-dev 2007-10-21 16:28:36 UTC
Created attachment 134049 [details, diff]
ksim-3.5.8.ebuild

This one makes use of "PATCHES"...
Comment 4 Joe Peterson (RETIRED) gentoo-dev 2007-10-21 16:58:18 UTC
Patch checked in.