tag 455380 patch thanks Martin Michlmayr <[EMAIL PROTECTED]> (09/12/2007): > Package: mysql-gui-tools > Version: 5.0~rc12-2 > Usertags: ftbfs-gcc-4.3
Hi, please find attached a patch to fix this FTBFS. Cheers, -- Cyril Brulebois
--- a/mysql-gui-common/library/grt-wb-controller/source/GraphRenderer.cpp +++ b/mysql-gui-common/library/grt-wb-controller/source/GraphRenderer.cpp @@ -10,6 +10,8 @@ const int GraphRenderer::K3; #endif +#include <climits> + /* // equals for doubles // algorithm by D.E.Knuth (TAOCP Vol.3 Sec. 4.2.2) --- a/mysql-gui-common/source/linux/MGFileBrowserList.cc +++ b/mysql-gui-common/source/linux/MGFileBrowserList.cc @@ -22,6 +22,8 @@ #include <errno.h> #include <stdio.h> /* rename() in FreeBSD */ +#include <cstring> + MGFileBrowserList::MGFileBrowserList(const Glib::ustring &title, --- a/mysql-gui-common/source/linux/MGHMeterGraphPlotter.cc +++ b/mysql-gui-common/source/linux/MGHMeterGraphPlotter.cc @@ -17,6 +17,8 @@ #include "MGHMeterGraphPlotter.h" +#include <cstring> + MGHMeterGraphPlotter::MGHMeterGraphPlotter(GtkDrawingArea *darea) --- a/mysql-gui-common/source/linux/MySQLGRT/MGRTValueTree.h +++ b/mysql-gui-common/source/linux/MySQLGRT/MGRTValueTree.h @@ -50,7 +50,7 @@ void set_icon(Gtk::TreeRow row, MGRTValue value); void add_value_item(Gtk::TreeIter iter, MGRTValue value); - void add_list_to_store(MGRTValue list, Gtk::TreeRow *parent, std::list<MYX_GRT_VALUE*> *list); + void add_list_to_store(MGRTValue list1, Gtk::TreeRow *parent, std::list<MYX_GRT_VALUE*> *list2); void add_dict_to_store(MGRTValue dict, Gtk::TreeRow &parent, std::list<MYX_GRT_VALUE*> *list); void remember_path(Gtk::TreeView *tree, const Gtk::TreeModel::Path &path, std::list<MYX_GRT_VALUE*> &list); --- a/mysql-query-browser/source/linux/MGCodeEditor.cc +++ b/mysql-query-browser/source/linux/MGCodeEditor.cc @@ -18,6 +18,8 @@ #include <gtksourceview/gtksourcelanguagesmanager.h> +#include <cstring> +
signature.asc
Description: Digital signature