lxdvdrip broken

Jeremy Messenger mezz7 at cox.net
Sun May 6 17:07:46 UTC 2007


On Sat, 05 May 2007 16:25:30 -0500, Kris Kennaway <kris at obsecurity.org>  
wrote:

> ===>  Building for lxdvdrip-1.62_2
> cc -L/usr/local/lib -I/usr/local/include -O2 -fno-strict-aliasing -pipe  
> -march=athlon-mp -I/usr/local/include  -march=athlon-mp -lm -ldvdread  
> -ldvdnav -lpthread -o lxdvdrip lxdvdrip.c streamanalyze.c ifo.c  
> dvdinfo.c dvdbackup.c dvdcell.c systools.c vaporize.c dvdtools.c  
> dvdcopy.c requant.c cputest.c tcmemcpy.c
> lxdvdrip.c: In function `SizeOfDVDFile':
> lxdvdrip.c:941: error: syntax error before "__off64_t"
> lxdvdrip.c:943: error: syntax error before "__off64_t"
> lxdvdrip.c:952: error: structure has no member named `size'
> lxdvdrip.c:957: error: structure has no member named `parts_size'
> *** Error code 1
>
> __off64_t doesn't seem to exist in FreeBSD

Yep and here is a patch to fix the build. While I am here, respect the  
CFLAGS too.

http://people.freebsd.org/~mezz/diff/lxdvdrip.diff

BTW: It is untest in the runtime as I never have use lxdvdrip before.

Cheers,
Mezz

> Kris


-- 
mezz7 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia at FreeBSD.org


More information about the freebsd-multimedia mailing list