www-client/firefox: update blessings patch to force TERM value
authorThomas Deutschmann <whissi@gentoo.org>
Sun, 9 Sep 2018 02:25:40 +0000 (04:25 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Sun, 9 Sep 2018 02:43:44 +0000 (04:43 +0200)
Closes: https://bugs.gentoo.org/654316
Package-Manager: Portage-2.3.49, Repoman-2.3.10

www-client/firefox/files/firefox-52.9.0-blessings-TERM.patch
www-client/firefox/files/firefox-60.0-blessings-TERM.patch

index 568651e04fe2ec35c40444ccaf2c4feb2ac9b661..271a62a1a1ff7926af4147830aaa7e7ea6edd5af 100644 (file)
@@ -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
index cac03d556438a8159bd2711b7d156fa405e77650..3d024a47b99a8029a13fd6a980473d1cd65bf9b0 100644 (file)
@@ -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