diff options
author | bland <bland@FreeBSD.org> | 2004-08-15 20:32:02 +0800 |
---|---|---|
committer | bland <bland@FreeBSD.org> | 2004-08-15 20:32:02 +0800 |
commit | ede1f009128efeb16d23c39267fd243a241e08f8 (patch) | |
tree | 615f4b3c8e0d1c5e1da62edd1933919c3dbb8387 | |
parent | c17fdf3112c8b5907d09fd632980989e15a6d45b (diff) | |
download | freebsd-ports-gnome-ede1f009128efeb16d23c39267fd243a241e08f8.tar.gz freebsd-ports-gnome-ede1f009128efeb16d23c39267fd243a241e08f8.tar.zst freebsd-ports-gnome-ede1f009128efeb16d23c39267fd243a241e08f8.zip |
Fix MySQL backend support build with gcc 3.4
PR: 70477
Submitted by: Sascha Holzleiter <sascha@root-login.org>
-rw-r--r-- | databases/libgda2/files/patch-providers_mysql_gda-mysql-provider.c | 30 | ||||
-rw-r--r-- | databases/libgda3/files/patch-providers_mysql_gda-mysql-provider.c | 30 |
2 files changed, 60 insertions, 0 deletions
diff --git a/databases/libgda2/files/patch-providers_mysql_gda-mysql-provider.c b/databases/libgda2/files/patch-providers_mysql_gda-mysql-provider.c new file mode 100644 index 000000000000..4b13d3f74cb5 --- /dev/null +++ b/databases/libgda2/files/patch-providers_mysql_gda-mysql-provider.c @@ -0,0 +1,30 @@ +--- patch-providers_mysql_gda-mysql-provider.c begins here --- +--- providers/mysql/gda-mysql-provider.c.orig Sat Aug 14 22:14:57 2004 ++++ providers/mysql/gda-mysql-provider.c Sat Aug 14 22:15:59 2004 +@@ -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 --git a/databases/libgda3/files/patch-providers_mysql_gda-mysql-provider.c b/databases/libgda3/files/patch-providers_mysql_gda-mysql-provider.c new file mode 100644 index 000000000000..4b13d3f74cb5 --- /dev/null +++ b/databases/libgda3/files/patch-providers_mysql_gda-mysql-provider.c @@ -0,0 +1,30 @@ +--- patch-providers_mysql_gda-mysql-provider.c begins here --- +--- providers/mysql/gda-mysql-provider.c.orig Sat Aug 14 22:14:57 2004 ++++ providers/mysql/gda-mysql-provider.c Sat Aug 14 22:15:59 2004 +@@ -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; |