diff options
author | Christoph Moench-Tegeder <cmt@FreeBSD.org> | 2021-10-06 23:12:41 +0200 |
---|---|---|
committer | Christoph Moench-Tegeder <cmt@FreeBSD.org> | 2021-10-06 23:12:41 +0200 |
commit | 737c941d23dabb27ac2c98d0c8473400924c5905 (patch) | |
tree | d43a669cbd4b8526e4ac72ba3ec35c3ac727a5bb /mail/thunderbird/files/patch-bug1288587 | |
parent | net-mgmt/check_ssl_cert: update to 2.9.1 (diff) |
mail/thunderbird: update to 91.2.0
Release Notes:
https://www.thunderbird.net/en-US/thunderbird/91.2.0/releasenotes/
This brings in Thunderbird 91esr:
- the calendar is not optional anymore
- gtk2 is not directly required anymore
- integrated PDF viewer
- and much more: https://support.mozilla.org/en-US/kb/new-thunderbird-91
Diffstat (limited to 'mail/thunderbird/files/patch-bug1288587')
-rw-r--r-- | mail/thunderbird/files/patch-bug1288587 | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/mail/thunderbird/files/patch-bug1288587 b/mail/thunderbird/files/patch-bug1288587 index bb3056c74d5f..0925ac98733c 100644 --- a/mail/thunderbird/files/patch-bug1288587 +++ b/mail/thunderbird/files/patch-bug1288587 @@ -2,36 +2,36 @@ diff --git a/build/moz.configure/init.configure b/build/moz.configure/init.confi index 855214a..1e91d51 100644 --- build/moz.configure/init.configure +++ build/moz.configure/init.configure -@@ -251,6 +251,7 @@ option(env='PYTHON3', nargs=1, help='Python 3 interpre - @imports(_from='mozbuild.pythonutil', _import='find_python3_executable') - @imports(_from='mozbuild.pythonutil', _import='python_executable_version') - @imports(_from='six', _import='ensure_text') -+@imports(_from='__builtin__', _import='KeyError') - def virtualenv_python3(env_python, virtualenv_name, build_env, mozconfig, help): +@@ -238,6 +238,7 @@ option( + @imports(_from="mozbuild.pythonutil", _import="find_python3_executable") + @imports(_from="mozbuild.pythonutil", _import="python_executable_version") + @imports(_from="six", _import="ensure_text") ++@imports(_from="__builtin__", _import="KeyError") + def virtualenv_python3(env_python, build_env, mozconfig, help): # Avoid re-executing python when running configure --help. if help: -@@ -283,6 +284,12 @@ def virtualenv_python3(env_python, build_env, mozconfi - python = mozconfig['vars']['added']['PYTHON3'] - elif 'PYTHON3' in mozconfig['vars']['modified']: - python = mozconfig['vars']['modified']['PYTHON3'][1] -+ for i in ('env', 'vars'): -+ for j in ('added', 'modified'): +@@ -271,6 +272,12 @@ def virtualenv_python3(env_python, virtualenv_name, bu + python = mozconfig["vars"]["added"]["PYTHON3"] + elif "PYTHON3" in mozconfig["vars"]["modified"]: + python = mozconfig["vars"]["modified"]["PYTHON3"][1] ++ for i in ("env", "vars"): ++ for j in ("added", "modified"): + try: -+ del mozconfig[i][j]['PYTHON3'] ++ del mozconfig[i][j]["PYTHON3"] + except KeyError: + pass log.debug("python3: executable from configuration: %r" % python) -@@ -365,7 +372,10 @@ def virtualenv_python3(env_python, build_env, mozconfi - sys.executable, manager.python_path)) - log.info('Re-executing in the virtualenv') +@@ -364,7 +371,10 @@ def virtualenv_python3(env_python, virtualenv_name, bu + ) + log.info("Re-executing in the virtualenv") if env_python: -- del os.environ['PYTHON3'] +- del os.environ["PYTHON3"] + try: -+ del os.environ['PYTHON3'] ++ del os.environ["PYTHON3"] + except KeyError: + pass - # Homebrew on macOS will change Python's sys.executable to a custom - # value which messes with mach's virtualenv handling code. Override - # Homebrew's changes with the correct sys.executable value. + # Another quirk on macOS, with the system python, the virtualenv is + # not fully operational (missing entries in sys.path) if + # __PYVENV_LAUNCHER__ is set. |