summaryrefslogtreecommitdiff
path: root/mail/thunderbird/files/patch-addon-search
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2018-05-23 05:19:16 +0000
committerJan Beich <jbeich@FreeBSD.org>2018-05-23 05:19:16 +0000
commit35d5410cfaec8a87d27da3cb304055f5766c72c5 (patch)
treee3dac136536ef6809e4ab645ab1a1f8f5d8a1fff /mail/thunderbird/files/patch-addon-search
parentmail/thunderbird: back out r470673 as AMO version lacks libical (diff)
gecko: restore support for native extensions after r470668/r470672
PR: 226919
Diffstat (limited to 'mail/thunderbird/files/patch-addon-search')
-rw-r--r--mail/thunderbird/files/patch-addon-search6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/thunderbird/files/patch-addon-search b/mail/thunderbird/files/patch-addon-search
index e92bf3c15652..dcc684409e80 100644
--- a/mail/thunderbird/files/patch-addon-search
+++ b/mail/thunderbird/files/patch-addon-search
@@ -45,7 +45,7 @@ index f70fd8d7e3bd8..81e8cd7764fdf 100644
addon.isPlatformCompatible = Array.some(nodes, function(aNode) {
let text = aNode.textContent.toLowerCase().trim();
- return text == "all" || text == Services.appinfo.OS.toLowerCase();
-+ return text == "all" || text == "linux";
++ return text == "all" || text == "linux" || text == Services.appinfo.OS.toLowerCase();
});
break;
case "install":
@@ -54,7 +54,7 @@ index f70fd8d7e3bd8..81e8cd7764fdf 100644
let os = node.getAttribute("os").trim().toLowerCase();
// If the os is not ALL and not the current OS then ignore this xpi
- if (os != "all" && os != Services.appinfo.OS.toLowerCase())
-+ if (os != "all" && os != "linux")
++ if (os != "all" && os != "linux" && os != Services.appinfo.OS.toLowerCase())
break;
}
@@ -67,7 +67,7 @@ index f70fd8d7e3bd8..81e8cd7764fdf 100644
try {
for (let platform of this.targetPlatforms) {
- if (platform.os == Services.appinfo.OS) {
-+ if (platform.os == "Linux") {
++ if (platform.os == "Linux" || platform.os == Services.appinfo.OS) {
if (platform.abi) {
needsABI = true;
if (platform.abi === abi)