diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-06-13 07:02:08 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-06-13 07:02:08 +0000 |
commit | f7a4010d63b8a13d47884bdea320603508c0af74 (patch) | |
tree | b5f67f8ca5b6bac0855f8b94420c5e795cdc2306 /gnome-extra | |
parent | Added to ~ppc (Manifest recommit) (diff) | |
download | gentoo-2-f7a4010d63b8a13d47884bdea320603508c0af74.tar.gz gentoo-2-f7a4010d63b8a13d47884bdea320603508c0af74.tar.bz2 gentoo-2-f7a4010d63b8a13d47884bdea320603508c0af74.zip |
gcc 3.4 fixes for bug #49234.
Diffstat (limited to 'gnome-extra')
-rw-r--r-- | gnome-extra/libgda/ChangeLog | 6 | ||||
-rw-r--r-- | gnome-extra/libgda/files/libgda-1.0.3-gcc3.4.patch | 173 | ||||
-rw-r--r-- | gnome-extra/libgda/libgda-1.0.3.ebuild | 5 |
3 files changed, 182 insertions, 2 deletions
diff --git a/gnome-extra/libgda/ChangeLog b/gnome-extra/libgda/ChangeLog index 56088960b538..7cb5fdca641f 100644 --- a/gnome-extra/libgda/ChangeLog +++ b/gnome-extra/libgda/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for gnome-extra/libgda # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v 1.45 2004/06/03 23:11:13 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v 1.46 2004/06/13 07:02:08 eradicator Exp $ + + 12 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> + +files/libgda-1.0.3-gcc3.4.patch: + gcc 3.4 fixes for bug #49234. 03 Jun 2004; Aron Griffis <agriffis@gentoo.org> libgda-0.2.95-r1.ebuild, libgda-0.2.96-r2.ebuild: diff --git a/gnome-extra/libgda/files/libgda-1.0.3-gcc3.4.patch b/gnome-extra/libgda/files/libgda-1.0.3-gcc3.4.patch new file mode 100644 index 000000000000..df07f34bb07f --- /dev/null +++ b/gnome-extra/libgda/files/libgda-1.0.3-gcc3.4.patch @@ -0,0 +1,173 @@ +--- libgda/gda-util.c.old 2004-04-29 02:19:25.721878904 +0100 ++++ libgda/gda-util.c 2004-04-29 02:19:47.399583392 +0100 +@@ -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"; +--- libgda/gda-value.c.old 2004-04-29 02:19:25.724878448 +0100 ++++ libgda/gda-value.c 2004-04-29 02:20:24.490944648 +0100 +@@ -2072,7 +2072,7 @@ + case GDA_VALUE_TYPE_TYPE : + retval = g_strdup (gda_type_to_string (value->value.v_type)); + break; +- default: ++ default:; + retval = g_strdup (""); + } + +@@ -2222,7 +2222,7 @@ + else + retval = g_strdup ("false"); + break; +- default: ++ default:; + retval = gda_value_stringify (value); + } + +--- libsql/lexer.c.old 2004-04-29 02:19:25.726878144 +0100 ++++ libsql/lexer.c 2004-04-29 02:20:41.545351984 +0100 +@@ -1165,7 +1165,7 @@ + break; + } + +- default: ++ default:; + YY_FATAL_ERROR( + "fatal flex scanner internal error--no action found" ); + } /* end of action switch */ +--- providers/ldap/gda-ldap-provider.c.old 2004-04-29 02:50:51.237237000 +0100 ++++ providers/ldap/gda-ldap-provider.c 2004-04-29 02:32:49.725651752 +0100 +@@ -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; +--- providers/mdb/gda-mdb-provider.c.old 2004-04-29 02:50:51.244235936 +0100 ++++ providers/mdb/gda-mdb-provider.c 2004-04-29 02:31:22.540905848 +0100 +@@ -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; +--- providers/mysql/gda-mysql-provider.c.old 2004-04-29 02:19:25.779870088 +0100 ++++ providers/mysql/gda-mysql-provider.c 2004-04-29 02:34:15.204656968 +0100 +@@ -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; +--- providers/oracle/gda-oracle-provider.c.old 2004-04-29 02:19:25.793867960 +0100 ++++ providers/oracle/gda-oracle-provider.c 2004-04-29 02:35:03.048383616 +0100 +@@ -825,7 +825,7 @@ + reclist = process_sql_commands (reclist, cnc, str, NULL, options); + g_free (str); + break; +- default: ++ default:; + } + /* don't know what to do here yet. */ + return reclist; +@@ -1044,7 +1044,7 @@ + case GDA_CONNECTION_FEATURE_USERS : + case GDA_CONNECTION_FEATURE_VIEWS : + return TRUE; +- default : ++ default :; + } + + return FALSE; +--- providers/oracle/utils.c.old 2004-04-29 02:19:25.791868264 +0100 ++++ providers/oracle/utils.c 2004-04-29 02:27:26.541783168 +0100 +@@ -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: +--- providers/sqlite/gda-sqlite-provider.c.old 2004-04-29 02:19:25.795867656 +0100 ++++ providers/sqlite/gda-sqlite-provider.c 2004-04-29 02:28:07.584543720 +0100 +@@ -586,7 +586,7 @@ + case GDA_CONNECTION_FEATURE_TRIGGERS : + case GDA_CONNECTION_FEATURE_VIEWS : + return TRUE; +- default: ++ default:; + } + + return FALSE; +@@ -772,7 +772,7 @@ + return get_tables (cnc); + case GDA_CONNECTION_SCHEMA_TYPES : + return get_types (); +- default: ++ default:; + } + + return NULL; +--- providers/xml/gda-xml-provider.c.old 2004-04-29 02:19:25.735876776 +0100 ++++ providers/xml/gda-xml-provider.c 2004-04-29 02:31:47.992036688 +0100 +@@ -681,7 +681,7 @@ + return get_tables (cnc, xmldb); + case GDA_CONNECTION_SCHEMA_TYPES : + return get_types (cnc); +- default : ++ default :; + } + + return NULL; diff --git a/gnome-extra/libgda/libgda-1.0.3.ebuild b/gnome-extra/libgda/libgda-1.0.3.ebuild index d1bd4f162bea..422785f278b2 100644 --- a/gnome-extra/libgda/libgda-1.0.3.ebuild +++ b/gnome-extra/libgda/libgda-1.0.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-1.0.3.ebuild,v 1.5 2004/04/27 21:17:34 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-1.0.3.ebuild,v 1.6 2004/06/13 07:02:08 eradicator Exp $ inherit gnome2 eutils @@ -45,6 +45,9 @@ src_unpack() { cd ${S} # Fix libgda's manual source. See bug #46337. epatch ${FILESDIR}/${P}-gtkdoc_fixes.patch + + # Fix gcc 3.4 compilation. See bug #49234 + epatch ${FILESDIR}/${P}-gcc3.4.patch } src_compile() { |