aboutsummaryrefslogtreecommitdiffstats
path: root/databases/libgnomedb
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2004-08-02 22:17:39 +0800
committeradamw <adamw@FreeBSD.org>2004-08-02 22:17:39 +0800
commit452d4cd30a110cac4071b26e39c8323905161a04 (patch)
treee9cbff03123c31f8c1fe982e15218e7be0f61e6d /databases/libgnomedb
parent44c6288a23d0a05c2e4962fe77a7ee9160c578d7 (diff)
downloadfreebsd-ports-gnome-452d4cd30a110cac4071b26e39c8323905161a04.tar.gz
freebsd-ports-gnome-452d4cd30a110cac4071b26e39c8323905161a04.tar.zst
freebsd-ports-gnome-452d4cd30a110cac4071b26e39c8323905161a04.zip
Fix build with gcc 3.4.
Diffstat (limited to 'databases/libgnomedb')
-rw-r--r--databases/libgnomedb/files/patch-libgnomedb_gnome-db-form.c10
-rw-r--r--databases/libgnomedb/files/patch-libgnomedb_utils.c11
2 files changed, 21 insertions, 0 deletions
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 :;
+ }
+ }
+