[mythtv] [mythtv-commits] mythtv commit: r15624 by danielk

stuarta at squashedfrog.net stuarta at squashedfrog.net
Mon Jan 28 11:26:40 UTC 2008


On Mon, Jan 28, 2008 at 07:26:47AM +0000, Stuart Auchterlonie wrote:
> mythtv at cvs.mythtv.org wrote:
> >       Author: danielk
> >         Date: 2008-01-27 19:27:40 +0000 (Sun, 27 Jan 2008)
> > New Revision: 15624
> >    Changeset: http://cvs.mythtv.org/trac/changeset/15624
> > 
> > Modified:
> > 
> >    trunk/mythtv/libs/libmythdvdnav/dvd_input.c
> > 
> > Log:
> > 
> > Fixes #4373. Use lseek64() rather than lseek() for MINGW compatibility.
> > 
> > 
> 
> This breaks OSX builds with the following
> 
> dvd_input.c: In function 'file_seek':
> dvd_input.c:199: error: 'off64_t' undeclared (first use in this function)
> dvd_input.c:199: error: (Each undeclared identifier is reported only once
> dvd_input.c:199: error: for each function it appears in.)
> dvd_input.c:199: error: parse error before 'pos'
> dvd_input.c:200: error: 'pos' undeclared (first use in this function)
> dvd_input.c:201: error: parse error before 'blocks'
> 
> 

Done a bit of digging. Looks like there is no off64_t or lseek64 on OSX.
However off64_t turns out to be 64 anyway.

I'll try and come up with a patch tonight.


Stuart


More information about the mythtv-dev mailing list