summaryrefslogtreecommitdiff
path: root/www/waterfox/files/patch-addon-search
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2018-05-23 04:04:53 +0000
committerJan Beich <jbeich@FreeBSD.org>2018-05-23 04:04:53 +0000
commitab146876a894c84256e94c43b6955b2a2ad49313 (patch)
tree572a7cb00f34e1c0b690c1c2c98c5679ce2606a8 /www/waterfox/files/patch-addon-search
parent- Update to 1.16.5 (diff)
gecko: adjust targetPlatform after r470668
PR: 226919 Reported by: Corpo (for Lightning)
Diffstat (limited to 'www/waterfox/files/patch-addon-search')
-rw-r--r--www/waterfox/files/patch-addon-search13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/waterfox/files/patch-addon-search b/www/waterfox/files/patch-addon-search
index 19da0f46810a..27bffc98e887 100644
--- a/www/waterfox/files/patch-addon-search
+++ b/www/waterfox/files/patch-addon-search
@@ -55,3 +55,16 @@ index f70fd8d7e3bd8..81e8cd7764fdf 100644
break;
}
+diff --git toolkit/mozapps/extensions/internal/XPIProvider.jsm toolkit/mozapps/extensions/internal/XPIProvider.jsm
+index f70fd8d7e3bd8..81e8cd7764fdf 100644
+--- toolkit/mozapps/extensions/internal/XPIProvider.jsm
++++ toolkit/mozapps/extensions/internal/XPIProvider.jsm
+@@ -7186,7 +7186,7 @@ AddonInternal.prototype = {
+ // Something is causing errors in here
+ try {
+ for (let platform of this.targetPlatforms) {
+- if (platform.os == Services.appinfo.OS) {
++ if (platform.os == "Linux") {
+ if (platform.abi) {
+ needsABI = true;
+ if (platform.abi === abi)