Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176758 - app-crypt/pinentry-0.7.2 - please, add color patch to pinentry-curses
Summary: app-crypt/pinentry-0.7.2 - please, add color patch to pinentry-curses
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
: 176763 176771 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-02 04:21 UTC by vyp08
Modified: 2010-06-24 21:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.