add build fix for speakup
svn path=/dists/trunk/linux-2.6/; revision=15749
This commit is contained in:
parent
b8624adbe7
commit
17e53db649
|
@ -0,0 +1,30 @@
|
|||
--- a/drivers/staging/speakup/i18n.c 2010-05-18 17:17:16.000000000 +0000
|
||||
+++ b/drivers/staging/speakup/i18n.c 2010-05-18 17:18:04.000000000 +0000
|
||||
@@ -1,6 +1,7 @@
|
||||
/* Internationalization implementation. Includes definitions of English
|
||||
* string arrays, and the i18n pointer. */
|
||||
|
||||
+#include <linux/slab.h>
|
||||
#include <linux/ctype.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/string.h>
|
||||
--- a/drivers/staging/speakup/selection.c 2010-05-18 17:20:15.000000000 +0000
|
||||
+++ b/drivers/staging/speakup/selection.c 2010-05-18 17:20:29.000000000 +0000
|
||||
@@ -2,6 +2,7 @@
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/sched.h>
|
||||
#include <linux/selection.h>
|
||||
+#include <linux/slab.h>
|
||||
|
||||
#include "speakup.h"
|
||||
|
||||
--- a/drivers/staging/speakup/kobjects.c 2010-05-18 17:19:00.000000000 +0000
|
||||
+++ b/drivers/staging/speakup/kobjects.c 2010-05-18 17:19:21.000000000 +0000
|
||||
@@ -13,6 +13,7 @@
|
||||
*/
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/kobject.h>
|
||||
+#include <linux/slab.h>
|
||||
#include <linux/string.h>
|
||||
#include <linux/sysfs.h>
|
||||
#include <linux/ctype.h>
|
|
@ -25,6 +25,8 @@
|
|||
# diff -ur --unidirectional-new-file nonexistent src | filterdiff --strip=1 --addoldprefix=a/drivers/staging/speakup/ --addnewprefix=b/drivers/staging/speakup/
|
||||
+ features/all/speakup/speakup-add.patch
|
||||
+ features/all/speakup/speakup-kbuild.patch
|
||||
# made manually
|
||||
+ features/all/speakup/slab-build-fix.patch
|
||||
|
||||
#+ bugfix/ia64/hardcode-arch-script-output.patch
|
||||
+ bugfix/mips/disable-advansys.patch
|
||||
|
|
Loading…
Reference in New Issue