summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartin <martin@pkgsrc.org>2006-11-17 08:12:14 +0000
committermartin <martin@pkgsrc.org>2006-11-17 08:12:14 +0000
commitf67456cb83582dfd432146ebab30f75690d30564 (patch)
tree54fcca16ec2298de0cb65042aed970dd95188c4e
parente2e94b271909425b448c26f5c46e908dd144fcb9 (diff)
downloadpkgsrc-f67456cb83582dfd432146ebab30f75690d30564.tar.gz
With option "debug" make the code not catch all signals.
-rw-r--r--www/firefox2/distinfo3
-rw-r--r--www/firefox2/patches/patch-ed20
2 files changed, 22 insertions, 1 deletions
diff --git a/www/firefox2/distinfo b/www/firefox2/distinfo
index 5be726ec23a..5d247b0c68b 100644
--- a/www/firefox2/distinfo
+++ b/www/firefox2/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/10/24 22:20:11 ghen Exp $
+$NetBSD: distinfo,v 1.2 2006/11/17 08:12:14 martin Exp $
SHA1 (firefox-2.0-source.tar.bz2) = 2bbc6b80cf184bf27101ec4315a19023547c85d4
RMD160 (firefox-2.0-source.tar.bz2) = 88b284b236f29fa5e483a32cd75ceaadebd2f6c3
@@ -62,3 +62,4 @@ SHA1 (patch-dv) = a380d261d4c2771a672d2b0f4f1f23821e3e5266
SHA1 (patch-ea) = 14e31d17c2493e468cd01f99abfc996853a11032
SHA1 (patch-eb) = dc9232b10075d17f7ed742e7be8ea036db2f0241
SHA1 (patch-ec) = 8235af6634306b2a5725754cd5a32285b311b714
+SHA1 (patch-ed) = ae922f591b871a1f427c4c32d76a2c25701382d4
diff --git a/www/firefox2/patches/patch-ed b/www/firefox2/patches/patch-ed
new file mode 100644
index 00000000000..9ad7fb2e6c8
--- /dev/null
+++ b/www/firefox2/patches/patch-ed
@@ -0,0 +1,20 @@
+$NetBSD: patch-ed,v 1.1 2006/11/17 08:12:14 martin Exp $
+
+--- profile/dirserviceprovider/src/nsProfileLock.cpp.orig 2005-11-01 02:20:38.000000000 +0100
++++ profile/dirserviceprovider/src/nsProfileLock.cpp 2006-11-16 09:50:12.000000000 +0100
+@@ -384,6 +384,7 @@ nsresult nsProfileLock::LockWithSymlink(
+ act.sa_flags = 0;
+ sigfillset(&act.sa_mask);
+
++#ifndef DEBUG
+ #define CATCH_SIGNAL(signame) \
+ PR_BEGIN_MACRO \
+ if (sigaction(signame, NULL, &oldact) == 0 && \
+@@ -402,6 +403,7 @@ PR_BEGIN_MACRO
+ CATCH_SIGNAL(SIGTERM);
+
+ #undef CATCH_SIGNAL
++#endif
+ }
+ }
+ }