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

Bug 176758

Summary: app-crypt/pinentry-0.7.2 - please, add color patch to pinentry-curses
Product: Gentoo Linux Reporter: vyp08 <vyp08>
Component: Current packagesAssignee: Sven Wegener <swegener>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description vyp08 2007-05-02 04:21:14 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 Jakub Moc (RETIRED) gentoo-dev 2007-05-02 07:09:44 UTC
*** Bug 176763 has been marked as a duplicate of this bug. ***
Comment 2 Tom Knight (RETIRED) gentoo-dev 2007-05-02 08:02:22 UTC
*** Bug 176771 has been marked as a duplicate of this bug. ***
Comment 3 Sven Wegener gentoo-dev 2010-06-24 21:21:59 UTC
Should be included now with a recent version of pinentry.