Hi !!! I've upgraded my gcc compiler to 4.1 and now, each time I try to emerge mysql-query-browser (1.1.18 version) I get this error: make[3]: *** [MGConnectDialog.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/mysql-query-browser-1.1.18/work/mysql-query-browser-1.1.18/mysql-gui-common/source/linux' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/mysql-query-browser-1.1.18/work/mysql-query-browser-1.1.18/mysql-gui-common/source' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mysql-query-browser-1.1.18/work/mysql-query-browser-1.1.18/mysql-gui-common' make: *** [all] Error 2 After some work I patched ebuild with these files: [1.1.18-4.1.patch] --- mysql-query-browser-1.1.18/mysql-gui-common/source/linux/MCrontab.h.orig 2006-04-08 23:31:59.000000000 +0000 +++ mysql-query-browser-1.1.18/mysql-gui-common/source/linux/MCrontab.h 2006-04-08 23:31:59.000000000 +0000 @@ -41,7 +41,7 @@ public: bool find_entry_by_comment(const std::string &comment, Entry &entry); - bool MCrontab::remove_entry_with_comment(const std::string &comment, + bool remove_entry_with_comment(const std::string &comment, const std::string &command=""); void add_entry(Entry &entry, const std::string &comment); --- mysql-query-browser-1.1.18/mysql-gui-common/source/linux/MGPreferences.h.orig 2006-04-08 23:31:59.000000000 +0000 +++ mysql-query-browser-1.1.18/mysql-gui-common/source/linux/MGPreferences.h 2006-04-08 23:31:59.000000000 +0000 @@ -40,7 +40,7 @@ virtual MYX_APPLICATION_OPTIONS *prepare_options()= 0; const char *find_value(MYX_OPTION_GROUP *group, const char *name); - std::list<const char *>MGOptions::find_values(MYX_OPTION_GROUP *group, const char *name); + std::list<const char *> find_values(MYX_OPTION_GROUP *group, const char *name); void add_group(MYX_APPLICATION_OPTIONS *options, const char *name, const std::list<ValuePair> &values); After I've patched .ebuild file with: src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/1.1.18-gtk-fix.patch epatch "${FILESDIR}"/1.1.18-4.1.patch echo "Categories=Application;Development;" >>"${S}"/mysql-query-browser/MySQLQueryBrowser.desktop.in } And now all is ok!!!!
Created attachment 84229 [details, diff] Path File
Created attachment 84230 [details] Modified Ebuild with epatch
Save patch on "file" folder and use new ebuild!
Please, don't resolve bugs as fixed until they are actually fixed in CVS.
Thanks, fixed in CVS.