diff options
Diffstat (limited to 'databases/mysql-workbench/patches/patch-library_forms_mforms.cpp')
-rw-r--r-- | databases/mysql-workbench/patches/patch-library_forms_mforms.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/databases/mysql-workbench/patches/patch-library_forms_mforms.cpp b/databases/mysql-workbench/patches/patch-library_forms_mforms.cpp new file mode 100644 index 00000000000..05b42cafe35 --- /dev/null +++ b/databases/mysql-workbench/patches/patch-library_forms_mforms.cpp @@ -0,0 +1,21 @@ +$NetBSD: patch-library_forms_mforms.cpp,v 1.1 2012/12/25 21:12:31 joerg Exp $ + +--- library/forms/mforms.cpp.orig 2012-12-25 15:55:34.000000000 +0000 ++++ library/forms/mforms.cpp +@@ -23,6 +23,8 @@ + #include "mforms/mforms.h" + #include "mforms/simpleform.h" + ++extern GThread *_mforms_main_thread; ++ + using namespace mforms; + + // The first time this method is called must be from the main thread, during +@@ -33,7 +35,6 @@ ControlFactory *ControlFactory::get_inst + if (!instance) + { + // Do some one time initializations. +- extern GThread *_mforms_main_thread; + _mforms_main_thread= g_thread_self(); + + instance= new ControlFactory(); |