summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Boshell <leonardop@gentoo.org>2005-05-11 22:47:00 +0000
committerLeonardo Boshell <leonardop@gentoo.org>2005-05-11 22:47:00 +0000
commit4b7cd6f4534f9dc7420d26b050c98ac819cd7329 (patch)
treec08935c4d1095137e86ecf10b62f91434d113942 /gnome-extra/libgda/files
parentInitial commit, closes bug #81376. (diff)
downloadgentoo-2-4b7cd6f4534f9dc7420d26b050c98ac819cd7329.tar.gz
gentoo-2-4b7cd6f4534f9dc7420d26b050c98ac819cd7329.tar.bz2
gentoo-2-4b7cd6f4534f9dc7420d26b050c98ac819cd7329.zip
Fixes in 1.0.2 for bugs #78314, #81724 and #87545. Marking 1.0.4 stable on x86.
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'gnome-extra/libgda/files')
-rw-r--r--gnome-extra/libgda/files/libgda-1.0.2-firebird_fix.patch11
-rw-r--r--gnome-extra/libgda/files/libgda-1.0.2-freetds_fix.patch24
-rw-r--r--gnome-extra/libgda/files/libgda-1.0.2-gcc3.4_fix.patch96
3 files changed, 131 insertions, 0 deletions
diff --git a/gnome-extra/libgda/files/libgda-1.0.2-firebird_fix.patch b/gnome-extra/libgda/files/libgda-1.0.2-firebird_fix.patch
new file mode 100644
index 000000000000..2087f354e1a3
--- /dev/null
+++ b/gnome-extra/libgda/files/libgda-1.0.2-firebird_fix.patch
@@ -0,0 +1,11 @@
+diff -NurdB libgda-1.0.2/providers/firebird/gda-firebird-provider.c libgda-1.0.2-firebird-fix/providers/firebird/gda-firebird-provider.c
+--- libgda-1.0.2/providers/firebird/gda-firebird-provider.c 2003-01-15 19:10:29.000000000 -0500
++++ libgda-1.0.2-firebird-fix/providers/firebird/gda-firebird-provider.c 2005-05-11 15:24:29.000000000 -0500
+@@ -29,6 +29,7 @@
+ #define TRANSACTION_DATA "GDA_Firebird_TransactionData"
+ #define STATEMENT_DATA "GDA_Firebird_StatementData"
+
++static isc_tr_handle *gda_firebird_command_get_transaction (GdaCommand *cmd);
+ static void gda_firebird_provider_class_init (GdaFirebirdProviderClass *klass);
+ static void gda_firebird_provider_init (GdaFirebirdProvider *provider,
+ GdaFirebirdProviderClass *klass);
diff --git a/gnome-extra/libgda/files/libgda-1.0.2-freetds_fix.patch b/gnome-extra/libgda/files/libgda-1.0.2-freetds_fix.patch
new file mode 100644
index 000000000000..c07dd3cf40f5
--- /dev/null
+++ b/gnome-extra/libgda/files/libgda-1.0.2-freetds_fix.patch
@@ -0,0 +1,24 @@
+diff -NurdB libgda-1.0.2/providers/freetds/gda-freetds-provider.c libgda-1.0.2-freetds-update/providers/freetds/gda-freetds-provider.c
+--- libgda-1.0.2/providers/freetds/gda-freetds-provider.c 2005-05-11 10:53:19.000000000 -0500
++++ libgda-1.0.2-freetds-update/providers/freetds/gda-freetds-provider.c 2005-05-11 14:47:06.000000000 -0500
+@@ -803,7 +803,7 @@
+
+ /* there should not be any result tokens */
+ #ifdef HAVE_FREETDS_VER0_6X
+- while ((tds_cnc->rc = tds_process_result_tokens (tds_cnc->tds, &tds_cnc->result_type))
++ while ((tds_cnc->rc = tds_process_result_tokens (tds_cnc->tds, &tds_cnc->result_type, NULL))
+ #else
+ while ((tds_cnc->rc = tds_process_result_tokens (tds_cnc->tds))
+ #endif
+diff -NurdB libgda-1.0.2/providers/freetds/gda-freetds-recordset.c libgda-1.0.2-freetds-update/providers/freetds/gda-freetds-recordset.c
+--- libgda-1.0.2/providers/freetds/gda-freetds-recordset.c 2005-05-11 10:53:19.000000000 -0500
++++ libgda-1.0.2-freetds-update/providers/freetds/gda-freetds-recordset.c 2005-05-11 14:59:02.000000000 -0500
+@@ -341,7 +341,7 @@
+
+ #ifdef HAVE_FREETDS_VER0_6X
+ while ((tds_cnc->rc = tds_process_result_tokens (tds_cnc->tds,
+- &tds_cnc->result_type))
++ &tds_cnc->result_type, NULL))
+ == TDS_SUCCEED) {
+ if (tds_cnc->result_type == TDS_ROW_RESULT) {
+ gint row_type, compute_id;
diff --git a/gnome-extra/libgda/files/libgda-1.0.2-gcc3.4_fix.patch b/gnome-extra/libgda/files/libgda-1.0.2-gcc3.4_fix.patch
new file mode 100644
index 000000000000..fc04b14cc653
--- /dev/null
+++ b/gnome-extra/libgda/files/libgda-1.0.2-gcc3.4_fix.patch
@@ -0,0 +1,96 @@
+diff -NurdB libgda-1.0.2/libgda/gda-util.c libgda-1.0.2-gcc3.4/libgda/gda-util.c
+--- libgda-1.0.2/libgda/gda-util.c 2003-11-03 04:48:05.000000000 -0500
++++ libgda-1.0.2-gcc3.4/libgda/gda-util.c 2005-05-11 15:58:31.000000000 -0500
+@@ -60,7 +60,7 @@
+ case GDA_VALUE_TYPE_TIME : return "time";
+ case GDA_VALUE_TYPE_TIMESTAMP : return "timestamp";
+ case GDA_VALUE_TYPE_TINYINT : return "tinyint";
+- default:
++ default: ;
+ }
+
+ return "string";
+diff -NurdB libgda-1.0.2/providers/ldap/gda-ldap-provider.c libgda-1.0.2-gcc3.4/providers/ldap/gda-ldap-provider.c
+--- libgda-1.0.2/providers/ldap/gda-ldap-provider.c 2003-02-03 12:12:13.000000000 -0500
++++ libgda-1.0.2-gcc3.4/providers/ldap/gda-ldap-provider.c 2005-05-11 15:59:16.000000000 -0500
+@@ -275,7 +275,7 @@
+ switch (feature) {
+ case GDA_CONNECTION_FEATURE_SQL :
+ return TRUE;
+- default :
++ default : ;
+ }
+
+ return FALSE;
+@@ -466,7 +466,7 @@
+ return get_ldap_tables (cnc, params);
+ case GDA_CONNECTION_SCHEMA_TYPES :
+ return get_ldap_types (cnc, params);
+- default :
++ default : ;
+ }
+
+ return NULL;
+diff -NurdB libgda-1.0.2/providers/mysql/gda-mysql-provider.c libgda-1.0.2-gcc3.4/providers/mysql/gda-mysql-provider.c
+--- libgda-1.0.2/providers/mysql/gda-mysql-provider.c 2003-11-26 16:01:22.000000000 -0500
++++ libgda-1.0.2-gcc3.4/providers/mysql/gda-mysql-provider.c 2005-05-11 15:58:31.000000000 -0500
+@@ -510,7 +510,7 @@
+
+ g_free (str);
+ break;
+- default:
++ default: ;
+ }
+
+ return reclist;
+@@ -655,7 +655,7 @@
+ case GDA_CONNECTION_FEATURE_SQL :
+ case GDA_CONNECTION_FEATURE_TRANSACTIONS :
+ return TRUE;
+- default :
++ default : ;
+ }
+
+ return FALSE;
+@@ -1187,7 +1187,7 @@
+ return get_mysql_tables (cnc, params);
+ case GDA_CONNECTION_SCHEMA_TYPES :
+ return get_mysql_types (cnc, params);
+- default :
++ default : ;
+ }
+
+ return NULL;
+diff -NurdB libgda-1.0.2/providers/sqlite/gda-sqlite-provider.c libgda-1.0.2-gcc3.4/providers/sqlite/gda-sqlite-provider.c
+--- libgda-1.0.2/providers/sqlite/gda-sqlite-provider.c 2003-01-15 19:13:28.000000000 -0500
++++ libgda-1.0.2-gcc3.4/providers/sqlite/gda-sqlite-provider.c 2005-05-11 15:58:31.000000000 -0500
+@@ -588,7 +588,7 @@
+ case GDA_CONNECTION_FEATURE_TRIGGERS :
+ case GDA_CONNECTION_FEATURE_VIEWS :
+ return TRUE;
+- default:
++ default: ;
+ }
+
+ return FALSE;
+@@ -774,7 +774,7 @@
+ return get_tables (cnc);
+ case GDA_CONNECTION_SCHEMA_TYPES :
+ return get_types ();
+- default:
++ default: ;
+ }
+
+ return NULL;
+diff -NurdB libgda-1.0.2/providers/xml/gda-xml-provider.c libgda-1.0.2-gcc3.4/providers/xml/gda-xml-provider.c
+--- libgda-1.0.2/providers/xml/gda-xml-provider.c 2003-09-01 18:55:02.000000000 -0500
++++ libgda-1.0.2-gcc3.4/providers/xml/gda-xml-provider.c 2005-05-11 15:58:31.000000000 -0500
+@@ -681,7 +681,7 @@
+ return get_tables (cnc, xmldb);
+ case GDA_CONNECTION_SCHEMA_TYPES :
+ return get_types (cnc);
+- default :
++ default : ;
+ }
+
+ return NULL;