summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox/patches/patch-aj')
-rw-r--r--www/firefox/patches/patch-aj20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/firefox/patches/patch-aj b/www/firefox/patches/patch-aj
new file mode 100644
index 00000000000..4a1f6170d5b
--- /dev/null
+++ b/www/firefox/patches/patch-aj
@@ -0,0 +1,20 @@
+$NetBSD: patch-aj,v 1.7 2009/08/05 02:43:47 tnn Exp $
+
+--- profile/dirserviceprovider/src/nsProfileLock.cpp.orig 2009-06-29 18:15:11.000000000 +0200
++++ profile/dirserviceprovider/src/nsProfileLock.cpp
+@@ -391,6 +391,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 && \
+@@ -409,6 +410,7 @@ PR_BEGIN_MACRO
+ CATCH_SIGNAL(SIGTERM);
+
+ #undef CATCH_SIGNAL
++#endif
+ }
+ }
+ }