From 82b4915ae1295ab7296c576e5ef9e178b3cb1964 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Tue, 24 Jul 2012 02:10:24 +0200 Subject: [PATCH] crystalhd: add patches to build with newer kernels Signed-off-by: Stephan Raue --- .../patches/crystalhd-171-kernel-3.4.patch | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 packages/multimedia/crystalhd/patches/crystalhd-171-kernel-3.4.patch diff --git a/packages/multimedia/crystalhd/patches/crystalhd-171-kernel-3.4.patch b/packages/multimedia/crystalhd/patches/crystalhd-171-kernel-3.4.patch new file mode 100644 index 0000000000..e4493b1c93 --- /dev/null +++ b/packages/multimedia/crystalhd/patches/crystalhd-171-kernel-3.4.patch @@ -0,0 +1,28 @@ +diff -Naur crystalhd-171/driver/linux/crystalhd_lnx.h crystalhd-171.patch/driver/linux/crystalhd_lnx.h +--- crystalhd-171/driver/linux/crystalhd_lnx.h 2010-10-18 01:56:15.000000000 +0200 ++++ crystalhd-171.patch/driver/linux/crystalhd_lnx.h 2012-07-24 00:17:05.257202412 +0200 +@@ -45,7 +45,10 @@ + #include + #include + #include ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0) + #include ++#endif + #include + + #include "crystalhd_cmds.h" +diff -Naur crystalhd-171/driver/linux/crystalhd_misc.h crystalhd-171.patch/driver/linux/crystalhd_misc.h +--- crystalhd-171/driver/linux/crystalhd_misc.h 2010-10-18 01:56:15.000000000 +0200 ++++ crystalhd-171.patch/driver/linux/crystalhd_misc.h 2012-07-24 00:16:57.091091576 +0200 +@@ -35,7 +35,10 @@ + #include + #include + #include ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0) + #include ++#endif + #include "bc_dts_glob_lnx.h" + #include "crystalhd_hw.h" +