Author: witekfl Date: Mon Sep 20 21:21:10 2010 GMT Module: packages Tag: HEAD ---- Log message: - fix issue with menuconfig (grey Select, Exit, Help buttons)
---- Files affected: packages/kernel: kernel.spec (1.823 -> 1.824) , kernel-fix_256colors_menuconfig.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/kernel/kernel.spec diff -u packages/kernel/kernel.spec:1.823 packages/kernel/kernel.spec:1.824 --- packages/kernel/kernel.spec:1.823 Mon Sep 20 21:46:37 2010 +++ packages/kernel/kernel.spec Mon Sep 20 23:21:04 2010 @@ -300,6 +300,9 @@ 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), @@ -850,6 +853,8 @@ #patch200 -p1 %endif +%patch250 -p1 + # routes %patch300 -p1 @@ -1594,6 +1599,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.824 2010/09/20 21:21:04 witekfl +- fix issue with menuconfig (grey Select, Exit, Help buttons) + Revision 1.823 2010/09/20 19:46:37 pawelz - rel 3 ================================================================ Index: packages/kernel/kernel-fix_256colors_menuconfig.patch diff -u /dev/null packages/kernel/kernel-fix_256colors_menuconfig.patch:1.1 --- /dev/null Mon Sep 20 23:21:10 2010 +++ packages/kernel/kernel-fix_256colors_menuconfig.patch Mon Sep 20 23:21:05 2010 @@ -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 + */ ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kernel/kernel.spec?r1=1.823&r2=1.824&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit