diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2018-05-23 05:19:16 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2018-05-23 05:19:16 +0000 |
commit | 35d5410cfaec8a87d27da3cb304055f5766c72c5 (patch) | |
tree | e3dac136536ef6809e4ab645ab1a1f8f5d8a1fff /www/firefox/files/patch-addon-search | |
parent | mail/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/firefox/files/patch-addon-search')
-rw-r--r-- | www/firefox/files/patch-addon-search | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/firefox/files/patch-addon-search b/www/firefox/files/patch-addon-search index a9f0490171a5..06e95a2e04ce 100644 --- a/www/firefox/files/patch-addon-search +++ b/www/firefox/files/patch-addon-search @@ -36,7 +36,7 @@ index f70fd8d7e3bd8..81e8cd7764fdf 100644 if (Array.isArray(aEntry.current_version.files)) { for (let file of aEntry.current_version.files) { - if (file.platform == "all" || file.platform == Services.appinfo.OS.toLowerCase()) { -+ if (file.platform == "all" || file.platform == "linux") { ++ if (file.platform == "all" || file.platform == "linux" || file.platform == Services.appinfo.OS.toLowerCase()) { if (file.url) { addon.sourceURI = NetUtil.newURI(file.url); } @@ -49,7 +49,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) |