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

Stuart Auchterlonie stuarta at squashedfrog.net
Mon Jan 28 22:00:18 UTC 2008


Nigel Pearson wrote:
> Something like this should allow compilation:
> 
> % svn diff libmyth/compat.h
> Index: libmyth/compat.h
> ===================================================================
> --- libmyth/compat.h    (revision 15634)
> +++ libmyth/compat.h    (working copy)
> @@ -271,4 +271,11 @@
>       typedef int32_t suseconds_t;   // 10.3 or earlier don't have this
>   #endif
> 
> +// Libdvdnav now uses off64_t lseek64(), which Darwin doesn't have.
> +// Luckily, its lseek() is already 64bit compatible
> +#ifdef CONFIG_DARWIN
> +    typedef off_t off64_t;
> +    #define lseek64(f,o,w) lseek(f,o,w)
> +#endif
> +
>   #endif // __COMPAT_H__
> 

That's pretty much what's in my patch.
It allows dvd_input.c to compile, however it's currently
dying for no apparent reason later on in the build.
I suspect this is the one others have previously mentioned

We can commit this code fragment to fix the problem.


Stuart


More information about the mythtv-dev mailing list