On Fri, Jul 12, 2019 at 11:13:31AM +0200, Raphael Graf wrote:
> On Tue, Jun 25, 2019 at 04:13:51PM +0200, Christian Weisgerber wrote:
> > Raphael Graf:
> > 
> > > Does anyone know why the large file support is disabled in mpg123?
> > 
> > Because it doesn't make sense.  off_t is always the same on OpenBSD
> > and does not change depending on how code defines _FILE_OFFSET_BITS.
> > 
> 
> Yes, the problem is that libopenmpt sets _FILE_OFFSET_BITS=64.
> 
> From a comment in mpg123.h:
> "When the app defines _FILE_OFFSET_BITS, it wants non-default large file
> support, and thus functions with added suffix (mpg123_open_64)."
> 
> This can be worked around in the libopenmpt port by setting
> MPG123_NO_LARGENAME, see attached diff.
> With this diff, the port works fine on macppc too.

Thanks for diving into this and for the diff, rapha@.

Here is a new tarball with those changes included.

OK to import?

Attachment: libopenmpt.tar.gz
Description: application/tar-gz

Reply via email to