Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 176771

Summary: Please, add color patch to pinentry-curses 0.7.2
Product: Gentoo Linux Reporter: vyp08 <vyp08>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description vyp08 2007-05-02 07:45:35 UTC
Please, if possible, add color patch to pinentry-curses 0.7.2:

--- pinentry/pinentry-curses.c.orig     2003-12-22 15:48:38.000000000 +0300
+++ pinentry/pinentry-curses.c  2007-04-29 18:52:39.000000000 +0400
@@ -584,9 +584,10 @@
   if (has_colors ())
     {
       start_color ();
+      use_default_colors();

       if (COLOR_PAIRS >= 1)
-       init_pair (1, COLOR_RED, COLOR_BLACK);
+       init_pair (1, COLOR_RED, -1);
     }

   /* XXX */

Reproducible: Always

Steps to Reproduce:
Comment 1 Tom Knight (RETIRED) gentoo-dev 2007-05-02 08:02:22 UTC

*** This bug has been marked as a duplicate of bug 176758 ***