From 452d4cd30a110cac4071b26e39c8323905161a04 Mon Sep 17 00:00:00 2001 From: adamw Date: Mon, 2 Aug 2004 14:17:39 +0000 Subject: Fix build with gcc 3.4. --- databases/libgnomedb/files/patch-libgnomedb_gnome-db-form.c | 10 ++++++++++ databases/libgnomedb/files/patch-libgnomedb_utils.c | 11 +++++++++++ 2 files changed, 21 insertions(+) create mode 100644 databases/libgnomedb/files/patch-libgnomedb_gnome-db-form.c create mode 100644 databases/libgnomedb/files/patch-libgnomedb_utils.c (limited to 'databases') diff --git a/databases/libgnomedb/files/patch-libgnomedb_gnome-db-form.c b/databases/libgnomedb/files/patch-libgnomedb_gnome-db-form.c new file mode 100644 index 000000000000..392c7d06ec20 --- /dev/null +++ b/databases/libgnomedb/files/patch-libgnomedb_gnome-db-form.c @@ -0,0 +1,10 @@ +--- libgnomedb/gnome-db-form.c.orig Mon Aug 2 10:13:56 2004 ++++ libgnomedb/gnome-db-form.c Mon Aug 2 10:14:09 2004 +@@ -582,6 +582,6 @@ + form->priv->navigator_current_row = row; + show_navigator_row (form); + break; +- case GNOME_DB_FORM_TYPE_LIST : ++ case GNOME_DB_FORM_TYPE_LIST :; + } + } diff --git a/databases/libgnomedb/files/patch-libgnomedb_utils.c b/databases/libgnomedb/files/patch-libgnomedb_utils.c new file mode 100644 index 000000000000..92979f008432 --- /dev/null +++ b/databases/libgnomedb/files/patch-libgnomedb_utils.c @@ -0,0 +1,11 @@ +--- libgnomedb/utils.c.orig Mon Aug 2 10:12:06 2004 ++++ libgnomedb/utils.c Mon Aug 2 10:12:16 2004 +@@ -45,7 +45,7 @@ + dialog = gnome_db_error_dialog_new (_("Error")); + gnome_db_error_dialog_show_errors (GNOME_DB_ERROR_DIALOG (dialog), + gda_connection_get_errors (cnc)); +- default : ++ default :; + } + } + -- cgit