diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2007-10-10 00:15:33 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2007-10-10 00:15:33 +0000 |
commit | d018f5f996e4e7cea9c2e2598b6596e3cfb67e15 (patch) | |
tree | 04cf9a9629c411aae26a6e65e470013eea74f837 /www/firefox36/files/patch-js_src_liveconnect_nsISecureLiveconnect.h | |
parent | Bring back bsd.port.pre.mk since the post-install requires PREFIX (diff) |
* Workaround a bug which can cause applications embedding Gecko to crash
on exit [1]
* Use the correct size for a JavaScript object on 64-bit platforms which
will help get the Java plug-in working on those platforms [2]
Test by: mezz [1]
Submitted by: jkim [2]
Obtained from: Firefox trunk [2]
Diffstat (limited to 'www/firefox36/files/patch-js_src_liveconnect_nsISecureLiveconnect.h')
-rw-r--r-- | www/firefox36/files/patch-js_src_liveconnect_nsISecureLiveconnect.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/www/firefox36/files/patch-js_src_liveconnect_nsISecureLiveconnect.h b/www/firefox36/files/patch-js_src_liveconnect_nsISecureLiveconnect.h new file mode 100644 index 000000000000..a672de913dd6 --- /dev/null +++ b/www/firefox36/files/patch-js_src_liveconnect_nsISecureLiveconnect.h @@ -0,0 +1,14 @@ +--- js/src/liveconnect/nsISecureLiveconnect.h.orig 2007-10-09 20:03:00.000000000 -0400 ++++ js/src/liveconnect/nsISecureLiveconnect.h 2007-10-09 20:03:50.000000000 -0400 +@@ -51,7 +51,11 @@ + #include "nsIFactory.h" + #include "jni.h" + ++#if JS_BYTES_PER_WORD == 8 ++typedef jlong jsobject; ++#else + typedef jint jsobject; ++#endif + + class nsISecureLiveconnect : public nsISupports { + public: |