dvb/linuxtv-dvb/debian/patches 10_Makefile_fix.dpatch
Thomas Schmidt
pkg-vdr-dvb-changes@lists.alioth.debian.org
Sat, 04 Sep 2004 12:00:01 +0000
Update of /cvsroot/pkg-vdr-dvb/dvb/linuxtv-dvb/debian/patches
In directory haydn:/tmp/cvs-serv26291/dvb/linuxtv-dvb/debian/patches
Modified Files:
10_Makefile_fix.dpatch
Log Message:
fix #269893
Index: 10_Makefile_fix.dpatch
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/dvb/linuxtv-dvb/debian/patches/10_Makefile_fix.dpatch,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- 10_Makefile_fix.dpatch 31 May 2004 13:09:35 -0000 1.6
+++ 10_Makefile_fix.dpatch 4 Sep 2004 11:59:59 -0000 1.7
@@ -2,7 +2,8 @@
## 10_Makefile_fix.dpatch by Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
##
## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
+## DP: Changes the Makefile to be able to compile a modules-package without
+## DP: a real kernel-dir, using a kernel-headers-package
if [ $# -lt 1 ]; then
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
@@ -25,7 +26,7 @@
@DPATCH@
diff -urNad /home/chelli/vdr/cvs/dvb/linuxtv-dvb/build-2.4/getlinks linuxtv-dvb/build-2.4/getlinks
--- /home/chelli/vdr/cvs/dvb/linuxtv-dvb/build-2.4/getlinks 2004-05-23 11:09:03.000000000 +0200
-+++ linuxtv-dvb/build-2.4/getlinks 2004-05-31 15:07:46.000000000 +0200
++++ linuxtv-dvb/build-2.4/getlinks 2004-09-04 13:48:20.000000000 +0200
@@ -5,7 +5,7 @@
echo "getting links from kernel-cvs driver"
@@ -37,7 +38,7 @@
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-02-14 22:00:53.000000000 +0100
-+++ linuxtv-dvb/build-2.4/Makefile 2004-05-31 15:07:57.000000000 +0200
++++ linuxtv-dvb/build-2.4/Makefile 2004-09-04 13:49:58.000000000 +0200
@@ -60,20 +60,24 @@
multi-m := $(filter $(list-multi), $(obj-m))
@@ -59,7 +60,7 @@
PWD := $(shell pwd)
DEST := /lib/modules/$(KERNELRELEASE)/$(MDIR)
-+export KCFLAGS= -D__KERNEL__ -I$(KSRC)include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include $(KSRC)include/linux/modversions.h -MD -I ../linux/include -I ./include -I. -DCONFIG_DVB_AV7110_OSD -nostdinc -iwithprefix include -DEXPORT_SYMTAB -c
++export KCFLAGS= -D__KERNEL__ -I$(KSRC)/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include $(KSRC)/include/linux/modversions.h -MD -I ../linux/include -I ./include -I. -DCONFIG_DVB_AV7110_OSD -nostdinc -iwithprefix include -DEXPORT_SYMTAB -c
+
+all: $(obj-m)
+
@@ -71,7 +72,7 @@
$(MAKE) -C $(KDIR) CC="gcc -I$(PWD)/include" SUBDIRS=$(PWD) modules
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-31 15:07:27.000000000 +0200
++++ linuxtv-dvb/Makefile 2004-09-04 13:48:20.000000000 +0200
@@ -3,7 +3,7 @@
CVSROOT := $(shell cat CVS/Root)
RELEASE_TAG := LINUXTV-DVB-$(subst .,_,$(subst -,_,$(VERSION)))