summaryrefslogtreecommitdiff
path: root/mail/thunderbird/files/patch-bug1233275
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2017-03-22 00:27:24 +0000
committerJan Beich <jbeich@FreeBSD.org>2017-03-22 00:27:24 +0000
commite9d6d6ee01ece315d75df3f5400768a34773ae87 (patch)
treeba8aba22881c44f350b19829d6222f3b2730c8aa /mail/thunderbird/files/patch-bug1233275
parentFix build. (diff)
mail/thunderbird: update to 52.0
Changes: https://www.mozilla.org/thunderbird/52.0/releasenotes/
Notes
Notes: svn path=/head/; revision=436667
Diffstat (limited to 'mail/thunderbird/files/patch-bug1233275')
-rw-r--r--mail/thunderbird/files/patch-bug123327536
1 files changed, 0 insertions, 36 deletions
diff --git a/mail/thunderbird/files/patch-bug1233275 b/mail/thunderbird/files/patch-bug1233275
deleted file mode 100644
index ed22461f257b..000000000000
--- a/mail/thunderbird/files/patch-bug1233275
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copy environment for IPC using NSPR to avoid race
-
-diff --git a/ipc/chromium/src/base/process_util_bsd.cc b/ipc/chromium/src/base/process_util_bsd.cc
---- mozilla/ipc/chromium/src/base/process_util_bsd.cc
-+++ mozilla/ipc/chromium/src/base/process_util_bsd.cc
-@@ -12,10 +12,9 @@
-
- #include <string>
-
-+#include "nspr.h"
- #include "base/eintr_wrapper.h"
-
--extern "C" char **environ __attribute__((__visibility__("default")));
--
- namespace base {
-
- void FreeEnvVarsArray(char* array[], int length)
-@@ -66,6 +65,7 @@ bool LaunchApp(const std::vector<std::st
- // Existing variables are overwritten by env_vars_to_set.
- int pos = 0;
- environment_map combined_env_vars = env_vars_to_set;
-+ char **environ = PR_DuplicateEnvironment();
- while(environ[pos] != NULL) {
- std::string varString = environ[pos];
- std::string varName = varString.substr(0, varString.find_first_of('='));
-@@ -73,8 +73,9 @@ bool LaunchApp(const std::vector<std::st
- if (combined_env_vars.find(varName) == combined_env_vars.end()) {
- combined_env_vars[varName] = varValue;
- }
-- pos++;
-+ PR_Free(environ[pos++]);
- }
-+ PR_Free(environ);
- int varsLen = combined_env_vars.size() + 1;
-
- char** vars = new char*[varsLen];