openbsd-ports/www/mozilla-firefox/patches/patch-services_crypto_modules_WeaveCrypto_js
landry 2e2cfce7ed Update to firefox 6.0.
See http://www.mozilla.com/en-US/firefox/6.0/releasenotes/.
Remove patches merged upstream (#648721, #651461, #643122, #634609 and
maybe others).
ok rpointel@
2011-08-23 20:14:52 +00:00

20 lines
868 B
Plaintext

$OpenBSD: patch-services_crypto_modules_WeaveCrypto_js,v 1.3 2011/08/23 20:14:52 landry Exp $
Fix libnss3 opening
--- services/crypto/modules/WeaveCrypto.js.orig Thu Aug 11 23:41:22 2011
+++ services/crypto/modules/WeaveCrypto.js Fri Aug 19 11:16:12 2011
@@ -158,12 +158,12 @@ WeaveCrypto.prototype = {
Cc["@mozilla.org/psm;1"].getService(Ci.nsISupports);
// Open the NSS library.
- let path = ctypes.libraryName("nss3");
+ let path = '${LOCALBASE}/lib/libnss3.so';
// XXX really want to be able to pass specific dlopen flags here.
var nsslib;
try {
- this.log("Trying NSS library without path");
+ this.log("Trying NSS library with path " + path);
nsslib = ctypes.open(path);
} catch(e) {
// In case opening the library without a full path fails,