--- /dev/null
+--- linux-2.6.35/scripts/kconfig/lxdialog/dialog.h.old 2010-09-20 23:10:14.000000000 +0200
++++ linux-2.6.35/scripts/kconfig/lxdialog/dialog.h 2010-09-20 23:10:21.000000000 +0200
+@@ -96,6 +96,18 @@
+ /* error return codes */
+ #define ERRDISPLAYTOOSMALL (KEY_MAX + 1)
+
++static inline int
++own_wattrset(WINDOW *win, chtype attr)
++{
++ short n = PAIR_NUMBER(attr);
++ chtype a = attr & ~A_COLOR;
++
++ wattrset(win, a);
++ return wcolor_set(win, n, NULL);
++}
++
++#undef wattrset
++#define wattrset(w,p) own_wattrset(w,p)
+ /*
+ * Color definitions
+ */
Patch200: kernel-ppc-ICE-hacks.patch
+# Show normal colors in menuconfig with ncurses ABI 6
+Patch250: kernel-fix_256colors_menuconfig.patch
+
# The following patch extend the routing functionality in Linux
# to support static routes (defined by user), new way to use the
# alternative routes, the reverse path protection (rp_filter),
#patch200 -p1
%endif
+%patch250 -p1
+
# routes
%patch300 -p1