diff options
Diffstat (limited to 'www/firefox52/patches/patch-js_xpconnect_src_xpcprivate.h')
-rw-r--r-- | www/firefox52/patches/patch-js_xpconnect_src_xpcprivate.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/www/firefox52/patches/patch-js_xpconnect_src_xpcprivate.h b/www/firefox52/patches/patch-js_xpconnect_src_xpcprivate.h new file mode 100644 index 00000000000..6cd6e944981 --- /dev/null +++ b/www/firefox52/patches/patch-js_xpconnect_src_xpcprivate.h @@ -0,0 +1,17 @@ +$NetBSD: patch-js_xpconnect_src_xpcprivate.h,v 1.1 2017/04/27 01:55:57 ryoon Exp $ + +From commit log 1.1: + Instantiate WeakMapPtr explicitly to get the right visibility with + clang. + +--- js/xpconnect/src/xpcprivate.h.orig 2016-10-31 20:15:38.000000000 +0000 ++++ js/xpconnect/src/xpcprivate.h +@@ -860,6 +860,8 @@ typedef nsTArray<InterpositionWhitelistP + /***************************************************************************/ + // XPCWrappedNativeScope is one-to-one with a JS global object. + ++extern template class JS_PUBLIC_API(JS::WeakMapPtr)<JSObject*, JSObject*>; ++ + class nsIAddonInterposition; + class nsXPCComponentsBase; + class XPCWrappedNativeScope final : public PRCList |