From 4fdc3d77d4a875b7236536bf78849a4d1f6a7449 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 7 Nov 2013 05:35:00 +0000 Subject: kbd: Fix stdarg related errors on uclibc It does not get stdarg.h included indirectly as it happens on uclibc due to different include chain (From OE-Core rev: eac8cb7cacab7f2fb392128aa5ebc2046ca4a793) Signed-off-by: Khem Raj Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-core/kbd/kbd/uclibc-stdarg.patch | 36 +++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 meta/recipes-core/kbd/kbd/uclibc-stdarg.patch (limited to 'meta/recipes-core/kbd/kbd/uclibc-stdarg.patch') diff --git a/meta/recipes-core/kbd/kbd/uclibc-stdarg.patch b/meta/recipes-core/kbd/kbd/uclibc-stdarg.patch new file mode 100644 index 0000000000..be7f324acc --- /dev/null +++ b/meta/recipes-core/kbd/kbd/uclibc-stdarg.patch @@ -0,0 +1,36 @@ +In file included from keymap.h:5:0, + from ksyms.c:6: +./keymap/common.h:65:38: error: unknown type name 'va_list' + const char *format, va_list args), + ^ +./keymap/common.h:66:3: error: expected ';', ',' or ')' before 'const' + const void *data); + ^ + +Upstream-Status: Pending +Signed-off-by: Khem Raj +Index: kbd-2.0.0/src/libkeymap/contextP.h +=================================================================== +--- kbd-2.0.0.orig/src/libkeymap/contextP.h 2013-08-13 06:46:23.000000000 -0700 ++++ kbd-2.0.0/src/libkeymap/contextP.h 2013-11-05 22:33:49.200528226 -0800 +@@ -2,7 +2,7 @@ + #define LK_CONTEXTP_H + + #include "keymap.h" +- ++#include + /** + * @brief Copy of struct kbdiacruc. + */ +Index: kbd-2.0.0/src/libkeymap/keymap/common.h +=================================================================== +--- kbd-2.0.0.orig/src/libkeymap/keymap/common.h 2013-08-13 06:46:23.000000000 -0700 ++++ kbd-2.0.0/src/libkeymap/keymap/common.h 2013-11-05 22:33:59.964528438 -0800 +@@ -6,6 +6,7 @@ + */ + + #include ++#include + + /** Initializes the structures necessary to read and/or parse keymap. + * -- cgit v1.2.3-54-g00ecf