v4l-dvb: removed backport warning.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 4 Dec 2010 16:54:34 +0000 (17:54 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 4 Dec 2010 16:54:34 +0000 (17:54 +0100)
lfs/v4l-dvb
src/patches/v4l-dvb_remove_backport_warning.patch [new file with mode: 0644]

index 50c116a..e8f2e54 100644 (file)
@@ -84,7 +84,9 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && make release VER=$(KVER)-$(VERSUFIX)
+       # Remove backported warning...
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/v4l-dvb_remove_backport_warning.patch
+               cd $(DIR_APP) && make release VER=$(KVER)-$(VERSUFIX)
        cd $(DIR_APP) && make $(MAKETUNING) all
        cd $(DIR_APP) && make install
        ln -sf $(DIR_APP)/ /usr/src/v4l-dvb
diff --git a/src/patches/v4l-dvb_remove_backport_warning.patch b/src/patches/v4l-dvb_remove_backport_warning.patch
new file mode 100644 (file)
index 0000000..7f57822
--- /dev/null
@@ -0,0 +1,12 @@
+diff -Naur v4l-dvb-abd3aac6644e.org/v4l/compat.h v4l-dvb-abd3aac6644e/v4l/compat.h
+--- v4l-dvb-abd3aac6644e.org/v4l/compat.h      2010-07-02 05:38:54.000000000 +0200
++++ v4l-dvb-abd3aac6644e/v4l/compat.h  2010-12-04 12:19:09.531056981 +0100
+@@ -14,8 +14,6 @@
+ #define INIT_DELAYED_WORK(a,b,c)      INIT_WORK(a,b,c)
+ #endif
+-#define EXPERIMENTAL_TREE
+-
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 35)
+ #define usb_buffer_alloc(dev, size, mem_flags, dma) usb_alloc_coherent(dev, size, mem_flags, dma)
+ #define usb_buffer_free(dev, size, addr, dma) usb_free_coherent(dev, size, addr, dma)