From 0b66b11ed3a40b981f951409130a252268a9fbce Mon Sep 17 00:00:00 2001 From: florian Date: Thu, 14 Jun 2007 09:53:50 +0000 Subject: [PATCH] Make empcd compile on 2.4 git-svn-id: svn://svn.openwrt.org/openwrt/packages@7629 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- sound/empcd/patches/001-input_defs.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 sound/empcd/patches/001-input_defs.patch diff --git a/sound/empcd/patches/001-input_defs.patch b/sound/empcd/patches/001-input_defs.patch new file mode 100644 index 000000000..66fa49f9b --- /dev/null +++ b/sound/empcd/patches/001-input_defs.patch @@ -0,0 +1,14 @@ +diff -urN empcd/empcd.h empcd.new/empcd.h +--- empcd/empcd.h 2005-11-29 01:35:30.000000000 +0100 ++++ empcd.new/empcd.h 2007-06-14 11:54:14.000000000 +0200 +@@ -24,6 +24,10 @@ + #include + + /* Linux specific... */ ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) ++#define EVIOCGRAB _IOW('E', 0x90, int) /* Grab/Release device */ ++#endif + #include + + #ifndef NULL -- 2.11.0