summaryrefslogtreecommitdiff
path: root/www/waterfox/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 /www/waterfox/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 'www/waterfox/files/patch-addon-search')
-rw-r--r--www/waterfox/files/patch-addon-search6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/waterfox/files/patch-addon-search b/www/waterfox/files/patch-addon-search
index 27bffc98e887..a2fabaa456b7 100644
--- a/www/waterfox/files/patch-addon-search
+++ b/www/waterfox/files/patch-addon-search
@@ -42,7 +42,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":
@@ -51,7 +51,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;
}
@@ -64,7 +64,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)