From 35d5410cfaec8a87d27da3cb304055f5766c72c5 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Wed, 23 May 2018 05:19:16 +0000 Subject: gecko: restore support for native extensions after r470668/r470672 PR: 226919 --- www/firefox/files/patch-addon-search | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/firefox/files/patch-addon-search') 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) -- cgit v1.2.3