diff options
Diffstat (limited to 'devel/xulrunner10/patches/patch-bg')
-rw-r--r-- | devel/xulrunner10/patches/patch-bg | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/devel/xulrunner10/patches/patch-bg b/devel/xulrunner10/patches/patch-bg new file mode 100644 index 00000000000..231b047920b --- /dev/null +++ b/devel/xulrunner10/patches/patch-bg @@ -0,0 +1,24 @@ +$NetBSD: patch-bg,v 1.1.1.1 2012/03/15 08:58:28 ryoon Exp $ + +--- storage/src/SQLiteMutex.h.orig 2012-03-09 22:20:34.000000000 +0000 ++++ storage/src/SQLiteMutex.h +@@ -141,15 +141,19 @@ public: + void assertCurrentThreadOwns() + { + NS_ASSERTION(mMutex, "No mutex associated with this wrapper!"); ++#if 0 /* XXX tnn: this breaks the debug build. */ + NS_ASSERTION(sqlite3_mutex_held(mMutex), + "Mutex is not held, but we expect it to be!"); ++#endif + } + + void assertNotCurrentThreadOwns() + { + NS_ASSERTION(mMutex, "No mutex associated with this wrapper!"); ++#if 0 /* XXX tnn: this breaks the debug build. */ + NS_ASSERTION(sqlite3_mutex_notheld(mMutex), + "Mutex is held, but we expect it to not be!"); ++#endif + } + #endif // ifndef DEBUG + |