summaryrefslogtreecommitdiff
path: root/editors/lyx-qt/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'editors/lyx-qt/patches/patch-ab')
-rw-r--r--editors/lyx-qt/patches/patch-ab17
1 files changed, 17 insertions, 0 deletions
diff --git a/editors/lyx-qt/patches/patch-ab b/editors/lyx-qt/patches/patch-ab
new file mode 100644
index 00000000000..b2fc54516e0
--- /dev/null
+++ b/editors/lyx-qt/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.5 2005/11/16 18:06:12 reed Exp $
+
+--- src/frontends/qt2/lyx_gui.C.orig 2005-10-12 16:16:12.000000000 -0700
++++ src/frontends/qt2/lyx_gui.C 2005-10-12 16:19:15.000000000 -0700
+@@ -123,7 +123,12 @@
+ LQApplication::~LQApplication()
+ {
+ #ifdef QT_THREAD_SUPPORT
++/* For some reason it doesn't indicate it is locked on NetBSD
++ resulting in a Error detected by libpthread: Destroying locked mutex.
++*/
++#if !defined(__NetBSD__)
+ if (locked())
++#endif
+ unlock();
+ #endif
+ }