Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/
Date: Mon, 24 Sep 2018 00:55:52
Message-Id: 1537750529.bd7f60f003cb9e5c3c8198df92a88ced4a43877c.whissi@gentoo
1 commit: bd7f60f003cb9e5c3c8198df92a88ced4a43877c
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 24 00:24:51 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 24 00:55:29 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd7f60f0
7
8 www-client/firefox: fix improper usage of blessings.tigetstr
9
10 Closes: https://bugs.gentoo.org/666840
11 Package-Manager: Portage-2.3.49, Repoman-2.3.10
12
13 www-client/firefox/files/firefox-60.0-blessings-TERM.patch | 14 ++++++++++++++
14 1 file changed, 14 insertions(+)
15
16 diff --git a/www-client/firefox/files/firefox-60.0-blessings-TERM.patch b/www-client/firefox/files/firefox-60.0-blessings-TERM.patch
17 index 3d024a47b99..975e0cf6fe7 100644
18 --- a/www-client/firefox/files/firefox-60.0-blessings-TERM.patch
19 +++ b/www-client/firefox/files/firefox-60.0-blessings-TERM.patch
20 @@ -54,3 +54,17 @@ index 3872b5f..fdceb09 100644
21 # There was an error setting up the terminal, either curses is
22 # not supported or TERM is incorrectly set. Fall back to dumb.
23 self._does_styling = False
24 +
25 +
26 +--- a/python/mach/mach/logging.py
27 ++++ b/python/mach/mach/logging.py
28 +@@ -93,7 +93,7 @@
29 +
30 + def set_terminal(self, terminal):
31 + self.terminal = terminal
32 +- self._sgr0 = blessings.tigetstr('sgr0') or '' if terminal and blessings else ''
33 ++ self._sgr0 = terminal.normal if terminal and blessings else ''
34 +
35 + def format(self, record):
36 + f = record.msg.format(**record.params)
37 +