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-ab29
1 files changed, 0 insertions, 29 deletions
diff --git a/editors/lyx-qt/patches/patch-ab b/editors/lyx-qt/patches/patch-ab
deleted file mode 100644
index cc5d8a1b1d8..00000000000
--- a/editors/lyx-qt/patches/patch-ab
+++ /dev/null
@@ -1,29 +0,0 @@
-$NetBSD: patch-ab,v 1.7 2006/04/18 23:21:18 reed Exp $
-
---- src/frontends/qt2/lyx_gui.C.orig 2006-04-14 13:33:44.000000000 -0700
-+++ src/frontends/qt2/lyx_gui.C 2006-04-14 14:18:59.000000000 -0700
-@@ -135,8 +135,22 @@
-
-
- LQApplication::~LQApplication()
--{}
--
-+{
-+/* revision 1.30.2.11 says:
-+ * "Don't unlock QApplication's mutex as it leads to undefined behaviour
-+ * (and crashes NetBSD)".
-+ *
-+ * Really the problem was that checking for locked() on NetBSD
-+ * for some unknown reason did not work. It did not crash, but just
-+ * core dumped when exiting due to "Destroying locked mutex".
-+ *
-+ * The "lyx: Error detected by libpthread: Destroying locked mutex."
-+ * problem still continues on NetBSD, so re-adding the following:
-+ */
-+#if defined(__NetBSD__) && defined(QT_THREAD_SUPPORT)
-+ unlock();
-+#endif
-+}
-
- #ifdef Q_WS_MACX
- bool LQApplication::macEventFilter(EventRef event)