SOURCES: mysql-query-browser-gcc4.1.patch (NEW) - patch for buildi...

pascalek pascalek at pld-linux.org
Wed Oct 4 20:42:21 CEST 2006


Author: pascalek                     Date: Wed Oct  4 18:42:21 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- patch for building with gcc 4.1

---- Files affected:
SOURCES:
   mysql-query-browser-gcc4.1.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/mysql-query-browser-gcc4.1.patch
diff -u /dev/null SOURCES/mysql-query-browser-gcc4.1.patch:1.1
--- /dev/null	Wed Oct  4 20:42:21 2006
+++ SOURCES/mysql-query-browser-gcc4.1.patch	Wed Oct  4 20:42:16 2006
@@ -0,0 +1,26 @@
+diff -Nur mysql-query-browser-1.1.18.orig/mysql-gui-common/source/linux/MCrontab.h mysql-query-browser-1.1.18.chng/mysql-gui-common/source/linux/MCrontab.h
+--- mysql-query-browser-1.1.18.orig/mysql-gui-common/source/linux/MCrontab.h	2005-03-13 14:16:59.000000000 +0100
++++ mysql-query-browser-1.1.18.chng/mysql-gui-common/source/linux/MCrontab.h	2006-10-04 19:49:53.000000000 +0200
+@@ -41,8 +41,8 @@
+   public:
+     bool find_entry_by_comment(const std::string &comment, Entry &entry);
+ 
+-    bool MCrontab::remove_entry_with_comment(const std::string &comment,
+-                                             const std::string &command="");
++    bool remove_entry_with_comment(const std::string &comment,
++                                   const std::string &command="");
+     
+     void add_entry(Entry &entry, const std::string &comment);
+ 
+diff -Nur mysql-query-browser-1.1.18.orig/mysql-gui-common/source/linux/MGPreferences.h mysql-query-browser-1.1.18.chng/mysql-gui-common/source/linux/MGPreferences.h
+--- mysql-query-browser-1.1.18.orig/mysql-gui-common/source/linux/MGPreferences.h	2005-03-13 14:16:59.000000000 +0100
++++ mysql-query-browser-1.1.18.chng/mysql-gui-common/source/linux/MGPreferences.h	2006-10-04 19:42:59.000000000 +0200
+@@ -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);
================================================================


More information about the pld-cvs-commit mailing list