diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2006-12-31 22:22:02 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2006-12-31 22:22:02 +0000 |
commit | 609a2b3bd54680842e616ea889e491ceb83041d5 (patch) | |
tree | 6ed1b8909dffdcca033f646a6198bb03e3374518 | |
parent | a15587cab9f0d909d23314ea319b5e6e49011597 (diff) |
ecore: Patch in kernel header definitions to avoid header problems in native packages
-rw-r--r-- | packages/efl/ecore.inc | 1 | ||||
-rw-r--r-- | packages/efl/ecore/ecore_kernel_input_header.patch | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/packages/efl/ecore.inc b/packages/efl/ecore.inc index cea3114dc7..e0e65b69c0 100644 --- a/packages/efl/ecore.inc +++ b/packages/efl/ecore.inc @@ -12,6 +12,7 @@ inherit efl SRC_URI = "http://enlightenment.freedesktop.org/files/ecore-${PV}.tar.gz \ file://configure.patch;patch=1 \ file://fix-tslib-configure.patch;patch=1 \ + file://ecore_kernel_input_header.patch;patch=1 \ ${E_CVS};module=e17/libs/ecore/m4;date=20060101" S = "${WORKDIR}/ecore-${PV}" diff --git a/packages/efl/ecore/ecore_kernel_input_header.patch b/packages/efl/ecore/ecore_kernel_input_header.patch new file mode 100644 index 0000000000..99f57ddcff --- /dev/null +++ b/packages/efl/ecore/ecore_kernel_input_header.patch @@ -0,0 +1,23 @@ +Index: ecore-0.9.9.036/src/lib/ecore_fb/ecore_fb_li.c +=================================================================== +--- ecore-0.9.9.036.orig/src/lib/ecore_fb/ecore_fb_li.c 2006-09-05 01:36:43.000000000 +0100 ++++ ecore-0.9.9.036/src/lib/ecore_fb/ecore_fb_li.c 2006-12-02 21:55:54.000000000 +0000 +@@ -1,6 +1,18 @@ + #include "Ecore_Fb.h" + #include "ecore_fb_private.h" + ++struct input_absinfo { ++ __s32 value; ++ __s32 minimum; ++ __s32 maximum; ++ __s32 fuzz; ++ __s32 flat; ++}; ++ ++ ++#define EV_SYN 0x00 ++#define EV_PWR 0x16 ++#define EV_FF_STATUS 0x17 + + /* Copyright (C) Brad Hards (1999-2002). + * this macro is used to tell if "bit" is set in "array" |