Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129285 - mysql-query-browser & gcc 4.1
Summary: mysql-query-browser & gcc 4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-04-08 14:33 UTC by Salvatore Ansani
Modified: 2006-04-08 16:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Path File (1.1.18-4.1.patch,1.29 KB, patch)
2006-04-08 14:34 UTC, Salvatore Ansani
Details | Diff
Modified Ebuild with epatch (mysql-query-browser-1.1.18-r1.ebuild,1.42 KB, text/plain)
2006-04-08 14:46 UTC, Salvatore Ansani
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Salvatore Ansani 2006-04-08 14:33:28 UTC
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!!!!
Comment 1 Salvatore Ansani 2006-04-08 14:34:55 UTC
Created attachment 84229 [details, diff]
Path File
Comment 2 Salvatore Ansani 2006-04-08 14:46:26 UTC
Created attachment 84230 [details]
Modified Ebuild with epatch
Comment 3 Salvatore Ansani 2006-04-08 14:47:14 UTC
Save patch on "file" folder and use new ebuild!
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-04-08 15:31:57 UTC
Please, don't resolve bugs as fixed until they are actually fixed in CVS.
Comment 5 Sven Wegener gentoo-dev 2006-04-08 16:49:32 UTC
Thanks, fixed in CVS.