compil vdr-1.7.4 against v4l-dvb hg as of today

Message ID 27136818.248241236422945662.JavaMail.servlet@kundenserver
State New
Headers

Commit Message

Marc Wernecke March 7, 2009, 10:49 a.m. UTC
  Hi,

some x-vdr users reported problems with compiling mplayer and some plug-ins like music too. We solved this by adding

DEFINES += -D__KERNEL_STRICT_NAMES 

to the VDR Makefile and patching the driver header files
  

Comments

Klaus Schmidinger March 7, 2009, 10:57 a.m. UTC | #1
On 07.03.2009 11:49, Marc Wernecke wrote:
> Hi,
> 
> some x-vdr users reported problems with compiling mplayer and some plug-ins like music too. We solved this by adding
> 
> DEFINES += -D__KERNEL_STRICT_NAMES 

Why would this suddenly be necessary?

> to the VDR Makefile and patching the driver header files
> 
> --- ./linux/include/linux/dvb/video.h.orig	2009-03-03 09:54:58.000000000 +0100
> +++ ./linux/include/linux/dvb/video.h	2009-03-03 09:45:30.000000000 +0100
> @@ -28,6 +28,7 @@
>  #ifdef __KERNEL__
>  #include <linux/compiler.h>
>  #else
> +#include <linux/compiler.h>
>  #include <stdint.h>
>  #include <time.h>
>  #endif

The driver header files have apparently been broken recently
("backport include changes on some .h files").
I posted a bug report on linux-dvb, but apparently nobody cares...

Klaus
  

Patch

--- ./linux/include/linux/dvb/video.h.orig	2009-03-03 09:54:58.000000000 +0100
+++ ./linux/include/linux/dvb/video.h	2009-03-03 09:45:30.000000000 +0100
@@ -28,6 +28,7 @@ 
 #ifdef __KERNEL__
 #include <linux/compiler.h>
 #else
+#include <linux/compiler.h>
 #include <stdint.h>
 #include <time.h>
 #endif