]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- fix issue with menuconfig (grey Select, Exit, Help buttons)
authorwitekfl <witekfl@pld-linux.org>
Mon, 20 Sep 2010 21:21:05 +0000 (21:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    kernel-fix_256colors_menuconfig.patch -> 1.1
    kernel.spec -> 1.824

kernel-fix_256colors_menuconfig.patch [new file with mode: 0644]
kernel.spec

diff --git a/kernel-fix_256colors_menuconfig.patch b/kernel-fix_256colors_menuconfig.patch
new file mode 100644 (file)
index 0000000..d77af9e
--- /dev/null
@@ -0,0 +1,21 @@
+--- 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
+  */
index bd198640a6f562d2b7f53722190264b5d6f94548..4add75e6769c3b0fcb625d88f278671ddc89bce4 100644 (file)
@@ -299,6 +299,9 @@ Patch150:   kernel-ppc-crtsavres.patch
 
 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),
@@ -849,6 +852,8 @@ sed -i 's/-Werror//' arch/alpha/kernel/Makefile
 #patch200 -p1
 %endif
 
+%patch250 -p1
+
 # routes
 %patch300 -p1
 
This page took 2.354975 seconds and 4 git commands to generate.