summaryrefslogtreecommitdiff
path: root/devel/xulrunner
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2011-07-12 00:19:45 +0000
committertnn <tnn@pkgsrc.org>2011-07-12 00:19:45 +0000
commit562dea0e559f3317c49248cbb6b477beae738213 (patch)
tree474d6aa557448aeee7b77e0496a58033f9dd8b66 /devel/xulrunner
parent34d561418630bf1200341ac49bfbfad03b3577fd (diff)
downloadpkgsrc-562dea0e559f3317c49248cbb6b477beae738213.tar.gz
Avoid an shlibsign crash issue due to not finding libsqlite3.so.
Hopefully fixes PR pkg/44053.
Diffstat (limited to 'devel/xulrunner')
-rw-r--r--devel/xulrunner/distinfo3
-rw-r--r--devel/xulrunner/patches/patch-security_nss_cmd_shlibsign_sign.sh17
2 files changed, 19 insertions, 1 deletions
diff --git a/devel/xulrunner/distinfo b/devel/xulrunner/distinfo
index 73aa63c9707..acb6a6500a1 100644
--- a/devel/xulrunner/distinfo
+++ b/devel/xulrunner/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.45 2011/07/11 12:46:14 tnn Exp $
+$NetBSD: distinfo,v 1.46 2011/07/12 00:19:45 tnn Exp $
SHA1 (firefox-5.0.source.tar.bz2) = 22b7b4751173c2142a0f09cca1aebc717d97b45a
RMD160 (firefox-5.0.source.tar.bz2) = 93d97a01f572f3688b0065c903afc3d7f9260179
@@ -60,6 +60,7 @@ SHA1 (patch-pc) = a0fbd378e0209259c97c8e24c8eccc02b543e08f
SHA1 (patch-pd) = e1b0d5b91c65cc3945eea3488ca0126a3461cea0
SHA1 (patch-pg) = fbf4ae0f334b97f201d05f9bdfd8a2643aeb33ea
SHA1 (patch-rc) = fb3ae1a38eabf3f7c47e86d8ff62f79496b9bf67
+SHA1 (patch-security_nss_cmd_shlibsign_sign.sh) = 0f4a691aacd5f58ab59ce7f11e22b4f6714e6938
SHA1 (patch-toolkit_toolkit-tiers.mk) = 53bbd10f337907d4a74a661719ab6637090b74c8
SHA1 (patch-xa) = ae5ed1f0fb9a0fd45242a94739853b199ed7da72
SHA1 (patch-xb) = c09bd676d21bef02e04c68c2362e32f408ea9201
diff --git a/devel/xulrunner/patches/patch-security_nss_cmd_shlibsign_sign.sh b/devel/xulrunner/patches/patch-security_nss_cmd_shlibsign_sign.sh
new file mode 100644
index 00000000000..3de09b74326
--- /dev/null
+++ b/devel/xulrunner/patches/patch-security_nss_cmd_shlibsign_sign.sh
@@ -0,0 +1,17 @@
+$NetBSD: patch-security_nss_cmd_shlibsign_sign.sh,v 1.1 2011/07/12 00:19:45 tnn Exp $
+
+This tries to dlopen libsoftokn3.so which is linked against sqlite3,
+so we need a directory containing libsqlite3.so in the search path,
+beside the directory containing libsoftokn3.so itself.
+
+--- security/nss/cmd/shlibsign/sign.sh.orig 2011-06-15 21:57:52.000000000 +0000
++++ security/nss/cmd/shlibsign/sign.sh
+@@ -26,7 +26,7 @@ WIN*)
+ export LIBPATH
+ SHLIB_PATH=${1}/lib:${4}:$SHLIB_PATH
+ export SHLIB_PATH
+- LD_LIBRARY_PATH=${1}/lib:${4}:$LD_LIBRARY_PATH
++ LD_LIBRARY_PATH=${1}/lib:${4}:${PREFIX}/lib:$LD_LIBRARY_PATH
+ export LD_LIBRARY_PATH
+ DYLD_LIBRARY_PATH=${1}/lib:${4}:$DYLD_LIBRARY_PATH
+ export DYLD_LIBRARY_PATH