diff options
author | 2018-09-24 02:24:51 +0200 | |
---|---|---|
committer | 2018-09-24 02:55:29 +0200 | |
commit | bd7f60f003cb9e5c3c8198df92a88ced4a43877c (patch) | |
tree | 5957315705b4ae7a655e851af920ba7f23fafde1 | |
parent | www-client/firefox: don't install llvm-symbolizer (diff) | |
download | gentoo-bd7f60f003cb9e5c3c8198df92a88ced4a43877c.tar.gz gentoo-bd7f60f003cb9e5c3c8198df92a88ced4a43877c.tar.bz2 gentoo-bd7f60f003cb9e5c3c8198df92a88ced4a43877c.zip |
www-client/firefox: fix improper usage of blessings.tigetstr
Closes: https://bugs.gentoo.org/666840
Package-Manager: Portage-2.3.49, Repoman-2.3.10
-rw-r--r-- | www-client/firefox/files/firefox-60.0-blessings-TERM.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/www-client/firefox/files/firefox-60.0-blessings-TERM.patch b/www-client/firefox/files/firefox-60.0-blessings-TERM.patch index 3d024a47b99a..975e0cf6fe7b 100644 --- a/www-client/firefox/files/firefox-60.0-blessings-TERM.patch +++ b/www-client/firefox/files/firefox-60.0-blessings-TERM.patch @@ -54,3 +54,17 @@ index 3872b5f..fdceb09 100644 # There was an error setting up the terminal, either curses is # not supported or TERM is incorrectly set. Fall back to dumb. self._does_styling = False + + +--- a/python/mach/mach/logging.py ++++ b/python/mach/mach/logging.py +@@ -93,7 +93,7 @@ + + def set_terminal(self, terminal): + self.terminal = terminal +- self._sgr0 = blessings.tigetstr('sgr0') or '' if terminal and blessings else '' ++ self._sgr0 = terminal.normal if terminal and blessings else '' + + def format(self, record): + f = record.msg.format(**record.params) + |