Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196637 - kde-base/kdemultimedia-kioslaves-3.5.8 does not compile in FreeBSD
Summary: kde-base/kdemultimedia-kioslaves-3.5.8 does not compile in FreeBSD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-21 16:45 UTC by Joe Peterson (RETIRED)
Modified: 2007-10-21 16:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kdemultimedia-kioslaves-3.5.8.ebuild (kdemultimedia-kioslaves-3.5.8.ebuild.diff,768 bytes, patch)
2007-10-21 16:46 UTC, Joe Peterson (RETIRED)
Details | Diff
files/kdemultimedia-kioslaves-3.5.8-freebsd.patch (kdemultimedia-kioslaves-3.5.8-freebsd.patch,894 bytes, patch)
2007-10-21 16:47 UTC, Joe Peterson (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Peterson (RETIRED) gentoo-dev 2007-10-21 16:45:33 UTC
kioslave/audiocd/plugins/lame/encoderlame.cpp looks for /usr/include/endian.h, whereas it needs to use /usr/include/machine/endian.h for BSD.  Also, BSD does not define "__BYTE_ORDER", etc.  I am attaching a patch that fixes these.  Note that another area ("kscd") also has some endian issues like this, but it is turned off for this ebuild, so I did not touch this.
Comment 1 Joe Peterson (RETIRED) gentoo-dev 2007-10-21 16:46:40 UTC
Created attachment 134051 [details, diff]
kdemultimedia-kioslaves-3.5.8.ebuild
Comment 2 Joe Peterson (RETIRED) gentoo-dev 2007-10-21 16:47:28 UTC
Created attachment 134053 [details, diff]
files/kdemultimedia-kioslaves-3.5.8-freebsd.patch
Comment 3 Joe Peterson (RETIRED) gentoo-dev 2007-10-21 16:56:37 UTC
Patch checked in.