Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: NEWSTRUCT dvbstream patch



Hi Philip,

Philip Armstrong wrote:
> OK, I've had a request for the patch to get dvbsteam-0.4pre2 working
> with the cvs NEWSTRUCT drivers. The following works for me, but YMMV!
> 
> (patch inline, not attached to get it onto the mailing list -- it's
> not very big...)
> 
> You will probably have to change INCS in the Makefile to point to
> wherever you've put the includes for the NEWSTRUCT drivers.
> 
> cheers all,
> 
> Phil
> 
> Patch begins:
> 
> diff -r -u dvbstream-0.4pre2/Makefile dvbstream-newstruct/Makefile
> --- dvbstream-0.4pre2/Makefile	2002-01-31 13:32:52.000000000 +0000
> +++ dvbstream-newstruct/Makefile	2002-07-10 08:53:02.000000000 +0100
> @@ -1,4 +1,4 @@
> -INCS=-I ../DVB/ost/include
> +INCS=-I ../newstruct/DVB/include/linux/dvb -I ../newstruct/DVB/include
>  CC=gcc
>  CFLAGS =  -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
>  OBJS=dvbstream dumprtp ts_filter rtpfeed rtp.o 
> diff -r -u dvbstream-0.4pre2/tune.c dvbstream-newstruct/tune.c
> --- dvbstream-0.4pre2/tune.c	2001-11-13 22:48:21.000000000 +0000
> +++ dvbstream-newstruct/tune.c	2002-07-10 09:34:00.000000000 +0100
> @@ -6,7 +6,7 @@
>  #include <fcntl.h>
>  
>  #include <ost/dmx.h>
> -#include <ost/sec.h>
> +/*#include <ost/sec.h>*/
>  #include <ost/frontend.h>

             ^^^^^^^^^^^^^^^^
shouldn't you #include <linux/dvb/frontend.h> here?
the same for #include <linux/dvb/dmx.h>.

- Holger



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index