[vdr] VDR working under FC3?

Johannes Stezenbach js at linuxtv.org
Wed Feb 16 18:13:33 CET 2005


HGM.bg (GMX) wrote:
> Linux TV wrote:
> > Looks like something getting spit out of 
> > /usr/include/linux/dvb/video.h , /usr/include/linux/dvb/osd.h and
> > vdr/dvbdevice.c   ?? 
> 
> Just remove __user in osd.h (1x) and video.h (1x) and everything is
> fine, i need this for FC2, too !

The following patch should also work:

--- vdr-1.3.21/Makefile.orig	2005-02-16 18:07:22.000000000 +0100
+++ vdr-1.3.21/Makefile	2005-02-16 18:09:03.000000000 +0100
@@ -68,6 +68,9 @@
 
 DEFINES += -D_GNU_SOURCE
 
+# backwards compat for DVB API headers on systems with out-of-date linux/compiler.h
+DEFINES += -D__user
+
 DEFINES += -DVIDEODIR=\"$(VIDEODIR)\"
 DEFINES += -DPLUGINDIR=\"$(PLUGINLIBDIR)\"
 

Johannes



More information about the vdr mailing list