aboutsummaryrefslogtreecommitdiffstats
path: root/databases/libgda3
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-07-17 23:14:51 +0800
committermarcus <marcus@FreeBSD.org>2004-07-17 23:14:51 +0800
commit4003c9830a21953348664c906d2d55b4c6005b59 (patch)
tree24e024cb63fc2bdc88f33b2fdfe1cd81d77cb1d8 /databases/libgda3
parent8ad1bad719fe728cb126f38fd623892c6e965add (diff)
downloadfreebsd-ports-gnome-4003c9830a21953348664c906d2d55b4c6005b59.tar.gz
freebsd-ports-gnome-4003c9830a21953348664c906d2d55b4c6005b59.tar.zst
freebsd-ports-gnome-4003c9830a21953348664c906d2d55b4c6005b59.zip
Fix build with GCC 3.4.
Reported by: pointyhat via kris Obtained from: libgda CVS
Diffstat (limited to 'databases/libgda3')
-rw-r--r--databases/libgda3/files/patch-libgda_gda-util.c11
-rw-r--r--databases/libgda3/files/patch-providers_ldap_gda-ldap-provider.c20
-rw-r--r--databases/libgda3/files/patch-providers_mdb_gda-mdb-provider.c20
-rw-r--r--databases/libgda3/files/patch-providers_oracle_utils.c11
-rw-r--r--databases/libgda3/files/patch-providers_sqlite_gda-sqlite-provider.c20
-rw-r--r--databases/libgda3/files/patch-providers_xml_gda-xml-provider.c11
6 files changed, 93 insertions, 0 deletions
diff --git a/databases/libgda3/files/patch-libgda_gda-util.c b/databases/libgda3/files/patch-libgda_gda-util.c
new file mode 100644
index 000000000000..61a7cded1fdb
--- /dev/null
+++ b/databases/libgda3/files/patch-libgda_gda-util.c
@@ -0,0 +1,11 @@
+--- libgda/gda-util.c.orig Sat Jul 17 11:02:21 2004
++++ libgda/gda-util.c Sat Jul 17 11:03:07 2004
+@@ -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 --git a/databases/libgda3/files/patch-providers_ldap_gda-ldap-provider.c b/databases/libgda3/files/patch-providers_ldap_gda-ldap-provider.c
new file mode 100644
index 000000000000..182c120967dc
--- /dev/null
+++ b/databases/libgda3/files/patch-providers_ldap_gda-ldap-provider.c
@@ -0,0 +1,20 @@
+--- providers/ldap/gda-ldap-provider.c.orig Sat Jul 17 11:06:48 2004
++++ providers/ldap/gda-ldap-provider.c Sat Jul 17 11:06:57 2004
+@@ -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 --git a/databases/libgda3/files/patch-providers_mdb_gda-mdb-provider.c b/databases/libgda3/files/patch-providers_mdb_gda-mdb-provider.c
new file mode 100644
index 000000000000..a56a2df2a1a0
--- /dev/null
+++ b/databases/libgda3/files/patch-providers_mdb_gda-mdb-provider.c
@@ -0,0 +1,20 @@
+--- providers/mdb/gda-mdb-provider.c.orig Sat Jul 17 11:05:48 2004
++++ providers/mdb/gda-mdb-provider.c Sat Jul 17 11:06:12 2004
+@@ -389,7 +389,7 @@
+ g_strfreev (arr);
+ }
+ break;
+- default :
++ default : ;
+ }
+
+ return reclist;
+@@ -438,7 +438,7 @@
+ case GDA_CONNECTION_FEATURE_PROCEDURES :
+ case GDA_CONNECTION_FEATURE_SQL :
+ return TRUE;
+- default :
++ default : ;
+ }
+
+ return FALSE;
diff --git a/databases/libgda3/files/patch-providers_oracle_utils.c b/databases/libgda3/files/patch-providers_oracle_utils.c
new file mode 100644
index 000000000000..a38974770e24
--- /dev/null
+++ b/databases/libgda3/files/patch-providers_oracle_utils.c
@@ -0,0 +1,11 @@
+--- providers/oracle/utils.c.orig Sat Jul 17 11:07:46 2004
++++ providers/oracle/utils.c Sat Jul 17 11:08:12 2004
+@@ -110,7 +110,7 @@
+ break;
+ case OCI_HTYPE_ENV:
+ gda_connection_add_error (cnc, gda_oracle_make_error (priv_data->henv, type, file, line));
+- default:
++ default: ;
+ }
+ break;
+ default:
diff --git a/databases/libgda3/files/patch-providers_sqlite_gda-sqlite-provider.c b/databases/libgda3/files/patch-providers_sqlite_gda-sqlite-provider.c
new file mode 100644
index 000000000000..66454f222810
--- /dev/null
+++ b/databases/libgda3/files/patch-providers_sqlite_gda-sqlite-provider.c
@@ -0,0 +1,20 @@
+--- providers/sqlite/gda-sqlite-provider.c.orig Sat Jul 17 11:09:00 2004
++++ providers/sqlite/gda-sqlite-provider.c Sat Jul 17 11:09:07 2004
+@@ -623,7 +623,7 @@
+ case GDA_CONNECTION_FEATURE_TRIGGERS :
+ case GDA_CONNECTION_FEATURE_VIEWS :
+ return TRUE;
+- default:
++ default: ;
+ }
+
+ return FALSE;
+@@ -809,7 +809,7 @@
+ return get_tables (cnc);
+ case GDA_CONNECTION_SCHEMA_TYPES :
+ return get_types ();
+- default:
++ default: ;
+ }
+
+ return NULL;
diff --git a/databases/libgda3/files/patch-providers_xml_gda-xml-provider.c b/databases/libgda3/files/patch-providers_xml_gda-xml-provider.c
new file mode 100644
index 000000000000..487d19514fc6
--- /dev/null
+++ b/databases/libgda3/files/patch-providers_xml_gda-xml-provider.c
@@ -0,0 +1,11 @@
+--- providers/xml/gda-xml-provider.c.orig Sat Jul 17 11:05:02 2004
++++ providers/xml/gda-xml-provider.c Sat Jul 17 11:05:11 2004
+@@ -681,7 +681,7 @@
+ return get_tables (cnc, xmldb);
+ case GDA_CONNECTION_SCHEMA_TYPES :
+ return get_types (cnc);
+- default :
++ default : ;
+ }
+
+ return NULL;