dvb/linuxtv-dvb/debian/patches 10_Makefile_fix.dpatch

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Sun, 30 May 2004 18:44:51 +0000


Update of /cvsroot/pkg-vdr-dvb/dvb/linuxtv-dvb/debian/patches
In directory haydn:/tmp/cvs-serv28728/dvb/linuxtv-dvb/debian/patches

Modified Files:
	10_Makefile_fix.dpatch 
Log Message:
made dvb-driver compiling working (but it needs a lot more hacking)

Index: 10_Makefile_fix.dpatch
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/dvb/linuxtv-dvb/debian/patches/10_Makefile_fix.dpatch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- 10_Makefile_fix.dpatch	24 May 2004 21:48:36 -0000	1.2
+++ 10_Makefile_fix.dpatch	30 May 2004 18:44:49 -0000	1.3
@@ -25,7 +25,16 @@
 @DPATCH@
 diff -urNad /home/chelli/vdr/cvs/dvb/linuxtv-dvb/build-2.4/Makefile linuxtv-dvb/build-2.4/Makefile
 --- /home/chelli/vdr/cvs/dvb/linuxtv-dvb/build-2.4/Makefile	2004-05-23 11:09:03.000000000 +0200
-+++ linuxtv-dvb/build-2.4/Makefile	2004-05-24 23:35:36.000000000 +0200
++++ linuxtv-dvb/build-2.4/Makefile	2004-05-30 20:31:04.000000000 +0200
+@@ -60,7 +60,7 @@
+ 
+ multi-m		:= $(filter $(list-multi), $(obj-m))
+ int-m		:= $(sort $(foreach m, $(multi-m), $($(basename $(m))-objs)))
+-EXTRA_CFLAGS	:= -MD -I ../linux/include -I . -DCONFIG_DVB_AV7110_OSD
++EXTRA_CFLAGS	:= -MD -I ../linux/include -I /usr/include -I . -DCONFIG_DVB_AV7110_OSD
+ 
+ include $(TOPDIR)/Rules.make
+ 
 @@ -70,9 +70,9 @@
  KERNELRELEASE	:= $(shell cat $(obj)/.version 2>/dev/null || uname -r)
  endif
@@ -34,13 +43,13 @@
 +KDIR		:= $(KSRC)
  PWD		:= $(shell pwd)
 -DEST		:= /lib/modules/$(KERNELRELEASE)/$(MDIR)
-+DEST		:= $(DESTDIR)
++DEST		:= debian/dvb-driver-$(KVERS)/lib/modules/$(KVERS)/misc/
  
  build:
  	[ -L saa7146_video.c ] || ./getlinks
 diff -urNad /home/chelli/vdr/cvs/dvb/linuxtv-dvb/Makefile linuxtv-dvb/Makefile
 --- /home/chelli/vdr/cvs/dvb/linuxtv-dvb/Makefile	2004-05-23 10:56:26.000000000 +0200
-+++ linuxtv-dvb/Makefile	2004-05-24 23:33:56.000000000 +0200
++++ linuxtv-dvb/Makefile	2004-05-30 20:30:47.000000000 +0200
 @@ -3,7 +3,7 @@
  CVSROOT     := $(shell cat CVS/Root)
  RELEASE_TAG := LINUXTV-DVB-$(subst .,_,$(subst -,_,$(VERSION)))