Tue Dec 25 21:12:32 2012 UTC ()
static const objects must have default constructors, so don't use const
here. Don't use extern inside functions when the declared function is
not in the same namespace.
(joerg)
diff -r1.6 -r1.7 pkgsrc/databases/mysql-workbench/distinfo
diff -r0 -r1.1 pkgsrc/databases/mysql-workbench/patches/patch-backend_wbprivate_workbench_wb__context.cpp
diff -r0 -r1.1 pkgsrc/databases/mysql-workbench/patches/patch-backend_wbpublic_sqlide_sqlide__generics.cpp
diff -r0 -r1.1 pkgsrc/databases/mysql-workbench/patches/patch-backend_wbpublic_sqlide_var__grid__model.cpp
diff -r0 -r1.1 pkgsrc/databases/mysql-workbench/patches/patch-library_forms_mforms.cpp
diff -r0 -r1.1 pkgsrc/databases/mysql-workbench/patches/patch-library_grt_src_grtpp__shell__lua.cpp
diff -r0 -r1.1 pkgsrc/databases/mysql-workbench/patches/patch-library_grt_src_grtpp__shell__python.cpp
--- pkgsrc/databases/mysql-workbench/Attic/distinfo 2012/09/15 05:14:07 1.6
+++ pkgsrc/databases/mysql-workbench/Attic/distinfo 2012/12/25 21:12:31 1.7
| @@ -1,20 +1,26 @@ | | | @@ -1,20 +1,26 @@ |
1 | $NetBSD: distinfo,v 1.6 2012/09/15 05:14:07 obache Exp $ | | 1 | $NetBSD: distinfo,v 1.7 2012/12/25 21:12:31 joerg Exp $ |
2 | | | 2 | |
3 | SHA1 (mysql-workbench-gpl-5.2.33b-src.tar.gz) = 1d47598fb0f956ce1a0c6b1afb462e8d6beeb1ed | | 3 | SHA1 (mysql-workbench-gpl-5.2.33b-src.tar.gz) = 1d47598fb0f956ce1a0c6b1afb462e8d6beeb1ed |
4 | RMD160 (mysql-workbench-gpl-5.2.33b-src.tar.gz) = 60213dd583da6034d5c4f7766b0a7dbafe57100c | | 4 | RMD160 (mysql-workbench-gpl-5.2.33b-src.tar.gz) = 60213dd583da6034d5c4f7766b0a7dbafe57100c |
5 | Size (mysql-workbench-gpl-5.2.33b-src.tar.gz) = 17873523 bytes | | 5 | Size (mysql-workbench-gpl-5.2.33b-src.tar.gz) = 17873523 bytes |
6 | SHA1 (patch-backend_wbprivate_workbench_stdafx_h) = 3bfeffdbbf7b8c3922ba514c436cb5a6f92c614b | | 6 | SHA1 (patch-backend_wbprivate_workbench_stdafx_h) = 3bfeffdbbf7b8c3922ba514c436cb5a6f92c614b |
| | | 7 | SHA1 (patch-backend_wbprivate_workbench_wb__context.cpp) = c215ac28cf4a1a41eae4dec0eb54c2c14c5b52fb |
| | | 8 | SHA1 (patch-backend_wbpublic_sqlide_sqlide__generics.cpp) = 08df04e135eb45bd7d4f071e40ad7a22b17b6f63 |
| | | 9 | SHA1 (patch-backend_wbpublic_sqlide_var__grid__model.cpp) = b2e6cd40a2d785e904ff0fbafd501eb754aabef4 |
7 | SHA1 (patch-backend_windows_wbprivate_wr_src_stdafx_h) = a42d1c33c627dd52e73f6841d759be5922950984 | | 10 | SHA1 (patch-backend_windows_wbprivate_wr_src_stdafx_h) = a42d1c33c627dd52e73f6841d759be5922950984 |
8 | SHA1 (patch-frontend_linux_linux_utilities_toolbar_manager.cpp) = cc2ecf41802836c1ce799ebdff26ad89b70f3459 | | 11 | SHA1 (patch-frontend_linux_linux_utilities_toolbar_manager.cpp) = cc2ecf41802836c1ce799ebdff26ad89b70f3459 |
9 | SHA1 (patch-library_base_file_utilities.cpp) = af34c32bec2e194b9e8e96c264dd7b036c380978 | | 12 | SHA1 (patch-library_base_file_utilities.cpp) = af34c32bec2e194b9e8e96c264dd7b036c380978 |
10 | SHA1 (patch-library_base_international_file.cpp) = 702e1465cbe2eec2b21d5b308e9c1184edb5c03b | | 13 | SHA1 (patch-library_base_international_file.cpp) = 702e1465cbe2eec2b21d5b308e9c1184edb5c03b |
11 | SHA1 (patch-library_canvas_src_mdc__canvas__view__printing_cpp) = 5c3e6c6f63421aa7aa5972a38e4f5b6d87aba71f | | 14 | SHA1 (patch-library_canvas_src_mdc__canvas__view__printing_cpp) = 5c3e6c6f63421aa7aa5972a38e4f5b6d87aba71f |
12 | SHA1 (patch-library_canvas_src_mdc__canvas__view_h) = 932e1e744ba0663afa0af3d618808fa9448b058a | | 15 | SHA1 (patch-library_canvas_src_mdc__canvas__view_h) = 932e1e744ba0663afa0af3d618808fa9448b058a |
13 | SHA1 (patch-library_canvas_src_stdafx_h) = 2e10af126271958857bdb77ca400d5e2d7e9a9ce | | 16 | SHA1 (patch-library_canvas_src_stdafx_h) = 2e10af126271958857bdb77ca400d5e2d7e9a9ce |
14 | SHA1 (patch-library_forms_gtk_lf_panel.h) = b381ffd107e23c1c099f89ff8175b64754d88fa1 | | 17 | SHA1 (patch-library_forms_gtk_lf_panel.h) = b381ffd107e23c1c099f89ff8175b64754d88fa1 |
| | | 18 | SHA1 (patch-library_forms_mforms.cpp) = de621a3d2604ab3b3807758a432cc6762ee30559 |
| | | 19 | SHA1 (patch-library_grt_src_grtpp__shell__lua.cpp) = 48b0d96c7a847f444629b921773a1735935b93a2 |
| | | 20 | SHA1 (patch-library_grt_src_grtpp__shell__python.cpp) = 9aa18665114199d269170f791f83d53f1696042e |
15 | SHA1 (patch-library_grt_src_grtpp__util_cpp) = e3b8a89c8fefd11f37a3ea7123a85857d7c14e31 | | 21 | SHA1 (patch-library_grt_src_grtpp__util_cpp) = e3b8a89c8fefd11f37a3ea7123a85857d7c14e31 |
16 | SHA1 (patch-modules_db_mysql_sqlparser_src_mysql__sql__parser__fe_cpp) = 8424f1e3bafc3cd05799bc43701059cb22245cd0 | | 22 | SHA1 (patch-modules_db_mysql_sqlparser_src_mysql__sql__parser__fe_cpp) = 8424f1e3bafc3cd05799bc43701059cb22245cd0 |
17 | SHA1 (patch-modules_db_mysql_sqlparser_src_stdafx_h) = 3ac7af043be0dd52fe2634e2ac49682c5d4e51de | | 23 | SHA1 (patch-modules_db_mysql_sqlparser_src_stdafx_h) = 3ac7af043be0dd52fe2634e2ac49682c5d4e51de |
18 | SHA1 (patch-modules_wb_mysql_import_src_stdafx_h) = f12583b61b29f9ae2ef3aaf30b9281dc67b230df | | 24 | SHA1 (patch-modules_wb_mysql_import_src_stdafx_h) = f12583b61b29f9ae2ef3aaf30b9281dc67b230df |
19 | SHA1 (patch-plugins_db_mysql_backend_db__plugin__be_cpp) = 2ab6955e6d769a0b0164ec9a841a1d67101bd935 | | 25 | SHA1 (patch-plugins_db_mysql_backend_db__plugin__be_cpp) = 2ab6955e6d769a0b0164ec9a841a1d67101bd935 |
20 | SHA1 (patch-plugins_wb_printing_backend_stdafx_h) = 490c35fce386d9e3b8bc3f801db0316c712f103c | | 26 | SHA1 (patch-plugins_wb_printing_backend_stdafx_h) = 490c35fce386d9e3b8bc3f801db0316c712f103c |
$NetBSD: patch-backend_wbprivate_workbench_wb__context.cpp,v 1.1 2012/12/25 21:12:31 joerg Exp $
--- backend/wbprivate/workbench/wb_context.cpp.orig 2012-12-25 15:17:54.000000000 +0000
+++ backend/wbprivate/workbench/wb_context.cpp
@@ -128,6 +128,8 @@ ENABLE_LOG("wbprivate")
#define HAVE_BUNDLED_MYSQLDUMP
#endif
+void register_all_metaclasses();
+
using namespace grt;
using namespace bec;
using namespace wb;
@@ -194,7 +196,6 @@ WBContext::WBContext(WBContextUI *ui, bo
: _asked_for_saving(false), _uicontext(ui), _model_context(0), _sqlide_context(ui), _file(0),
_save_point(0), _tunnel_manager(0)
{
- extern void register_all_metaclasses();
static bool registered_metaclasses= false;
g_log_set_handler(NULL, (GLogLevelFlags)0xfffff, log_func, this);
$NetBSD: patch-backend_wbpublic_sqlide_sqlide__generics.cpp,v 1.1 2012/12/25 21:12:31 joerg Exp $
--- backend/wbpublic/sqlide/sqlide_generics.cpp.orig 2012-12-25 14:37:05.000000000 +0000
+++ backend/wbpublic/sqlide/sqlide_generics.cpp
@@ -38,7 +38,7 @@ public:
template <typename T> result_type operator()(const T &v1, const T &v2) const { return true; }
template <typename T1, typename T2> result_type operator()(const T1 &v1, const T2 &v2) const { return false; }
};
-static const IsVarTypeEqTo is_var_type_eq_to;
+static IsVarTypeEqTo is_var_type_eq_to;
bool is_var_null(const sqlite::Variant &value)
{
$NetBSD: patch-backend_wbpublic_sqlide_var__grid__model.cpp,v 1.1 2012/12/25 21:12:31 joerg Exp $
--- backend/wbpublic/sqlide/var_grid_model.cpp.orig 2012-12-25 14:43:01.000000000 +0000
+++ backend/wbpublic/sqlide/var_grid_model.cpp
@@ -410,7 +410,7 @@ bool VarGridModel::set_field(const NodeI
bool is_blob_column= sqlide::is_var_blob(_real_column_types[column]);
if (!_optimized_blob_fetching || !is_blob_column)
{
- static const sqlide::VarEq var_eq;
+ static sqlide::VarEq var_eq;
if (!is_blob_column)
res= !boost::apply_visitor(var_eq, value, *cell);
if (res)
$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();
$NetBSD: patch-library_grt_src_grtpp__shell__lua.cpp,v 1.1 2012/12/25 21:12:31 joerg Exp $
--- library/grt/src/grtpp_shell_lua.cpp.orig 2012-12-25 14:27:07.000000000 +0000
+++ library/grt/src/grtpp_shell_lua.cpp
@@ -37,6 +37,7 @@
#include <Windows.h>
#endif
+extern void myx_grt_shell_show_help(grt::GRT *grt, const char *command);
using namespace grt;
using namespace base;
@@ -207,7 +208,6 @@ int LuaShell::set_global_var(const std::
void LuaShell::show_help(const std::string &keyword)
{
- extern void myx_grt_shell_show_help(grt::GRT *grt, const char *command);
myx_grt_shell_show_help(_grt, keyword.c_str());
}
$NetBSD: patch-library_grt_src_grtpp__shell__python.cpp,v 1.1 2012/12/25 21:12:31 joerg Exp $
--- library/grt/src/grtpp_shell_python.cpp.orig 2012-12-25 14:24:41.000000000 +0000
+++ library/grt/src/grtpp_shell_python.cpp
@@ -22,6 +22,7 @@
#ifdef ENABLE_PYTHON_MODULES
#include "grtpp_shell_python.h"
+#include "grtpp_shell_python_help.h"
#include "base/string_utilities.h"
using namespace grt;
@@ -194,8 +195,6 @@ int PythonShell::set_global_var(const st
void PythonShell::show_help(const std::string &keyword)
{
- extern void grt_shell_show_python_help(GRT *grt, const char *command);
-
grt_shell_show_python_help(_grt, keyword.c_str());
}