Bug#728146: pd-iemambi: FTBFS on kfreebsd-*: #error No byte order defined

IOhannes m zmölnig zmoelnig at iem.at
Fri Nov 1 20:09:33 UTC 2013


On 2013-11-01 15:59, Robert Millan wrote:
> On 01/11/2013 15:21, Sebastian Ramacher wrote:
>>> anyhow, i'd rather have the problem fixed. so what is the portable
>>> solution? should i simply define `__BSD_VISIBLE` for kfreebsd-*?
> 
> No, that's an internal macro. Applications are not supposed to provide it.

thanks.

> 
> As far as I can see, starting with kfreebsd-kernel-headers 9.2~3 the
> macros you want are defined unconditionally (by way of #include
> <endian.h>). 

thanks for the confirmation.
the code already includes <machine/endian.h> for BSD-like platforms
(__FreeBSD__, __APPLE__ *and* __FreeBSD_kernel__) whereas <endian.h> is
only included on linux and the hurd.
so i wonder what's the difference between <endian.h> and
<machine/endian.h>? can/should i use the latter on kfreebsd-*?


> Maybe you just need a versioned B-D?

that would be the easiest solution :-)

gfmards
IOhannes




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20131101/acf0b46c/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list