Bug#720440: mpg123: mpg123 does not build LFS wrappers on kfreebsd-i386

Thomas Orgis thomas-forum at orgis.org
Wed Aug 28 08:24:52 UTC 2013


Am Wed, 28 Aug 2013 01:33:08 +0200
schrieb Thomas Orgis <thomas-forum at orgis.org>: 

> But let me try to get my own logic straight again. 

Damn, I shouldn't write such stuff late at night, the brain torn
between wildly differing problems and the urge to fall into hibernation.

> Current lfs_wrap.c is hardcoded to [no suffix]->_64 with long arguments
> on [no suffix]. That is still correct...

That is not correct. The mpg123 header specifies off_t as argument.
When off_t is always 64 bits (could you possibly set
_FILE_OFFSET_BITS=32 ?!), there is no justification for _32 functions
at all! So, you only want lfs_alias for [no suffix] -> _64. You dont't
want lfs_wrap. That eases the problem, actually. Just make sure _not_
to include lfs_wrap and define _FILE_OFFSET_BITS=64 in configure for
lfs_alias. That should just work ...


Alrighty then,

Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20130828/a4831216/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list