From: Thomas Deutschmann Date: Sun, 9 Sep 2018 02:25:40 +0000 (+0200) Subject: www-client/firefox: update blessings patch to force TERM value X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=61f2b686d018838df528cb143f6fe3458331de5d;p=gentoo.git www-client/firefox: update blessings patch to force TERM value Closes: https://bugs.gentoo.org/654316 Package-Manager: Portage-2.3.49, Repoman-2.3.10 --- diff --git a/www-client/firefox/files/firefox-52.9.0-blessings-TERM.patch b/www-client/firefox/files/firefox-52.9.0-blessings-TERM.patch index 568651e04fe2..271a62a1a1ff 100644 --- a/www-client/firefox/files/firefox-52.9.0-blessings-TERM.patch +++ b/www-client/firefox/files/firefox-52.9.0-blessings-TERM.patch @@ -22,7 +22,7 @@ index 98b75c3..3872b5f 100644 - setupterm(kind or environ.get('TERM', 'unknown'), - self._init_descriptor) + try: -+ setupterm(kind or environ.get('TERM', 'dumb'), ++ setupterm(kind or environ.get('TERM', 'dumb') or 'dumb', + self._init_descriptor) + except: + # There was an error setting up the terminal, either curses is 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 cac03d556438..3d024a47b99a 100644 --- a/www-client/firefox/files/firefox-60.0-blessings-TERM.patch +++ b/www-client/firefox/files/firefox-60.0-blessings-TERM.patch @@ -22,7 +22,7 @@ index 98b75c3..3872b5f 100644 - setupterm(kind or environ.get('TERM', 'unknown'), - self._init_descriptor) + try: -+ setupterm(kind or environ.get('TERM', 'dumb'), ++ setupterm(kind or environ.get('TERM', 'dumb') or 'dumb', + self._init_descriptor) + except: + # There was an error setting up the terminal, either curses is