From 377513db1f7bbe49122a981bce1efb7295e09094 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Mon, 14 Aug 2000 15:18:44 +0000 Subject: Compile fix for RH7.0beta from Kenny Graunke ; unprototype the disabled mail functions svn path=/trunk/; revision=4836 --- ChangeLog | 6 ++++++ addressbook/ChangeLog | 5 +++++ addressbook/backend/pas/pas-backend-file.c | 4 ++++ configure.in | 2 ++ mail/ChangeLog | 4 ++++ mail/mail-ops.c | 2 +- mail/mail-threads.h | 3 +++ 7 files changed, 25 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 62a3e2a6a1..65b96f06f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-08-14 Peter Williams + + * configure.in: Check for db1/db.h too, which is what + RH 7.0 uses for the old db headers. Patch from Kenny Graunke + + 2000-08-13 Chris Toshok * configure.in: offer --enable-pilot-conduits to add pilot diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 515ab337b2..746f2933b3 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2000-08-14 Peter Williams + + * backend/pas/pas-backend-file.c: Include the proper db1/db.h + as in RedHat 7.0 -- patch from Kenny Graunke + 2000-08-13 Chris Toshok * conduit/Makefile.am (libaddress_conduit_la_SOURCES): add diff --git a/addressbook/backend/pas/pas-backend-file.c b/addressbook/backend/pas/pas-backend-file.c index 3d7e443f21..3cf0586afe 100644 --- a/addressbook/backend/pas/pas-backend-file.c +++ b/addressbook/backend/pas/pas-backend-file.c @@ -14,8 +14,12 @@ #ifdef HAVE_DB_185_H #include #else +#ifdef HAVE_DB1_DB_H +#include +#else #include #endif +#endif #include "pas-backend-file.h" #include "pas-book.h" diff --git a/configure.in b/configure.in index ebeb4942d2..89a3148581 100644 --- a/configure.in +++ b/configure.in @@ -137,8 +137,10 @@ dnl ************************************************** dnl * pas-backend-file stuff. dnl * check for db_185.h. if it's there, we use it. dnl * otherwise, we use db.h (since it'll be 185). +dnl * Except on RH7.0, which puts db in yet another place dnl ************************************************** AC_CHECK_HEADERS(db_185.h) +AC_CHECK_HEADERS(db1/db.h) dnl ************************************************** dnl * ldap related stuff. diff --git a/mail/ChangeLog b/mail/ChangeLog index 62abf833ca..06a4521008 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,7 @@ +2000-08-14 Peter Williams + + * mail-ops.c (do_scan_subfolders): Silence a compile warning. + 2000-08-13 Jeffrey Stedfast * mail-crypto.c (mail_crypto_openpgp_encrypt): Added support for diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 59c2f66ecc..3262237e13 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -796,7 +796,7 @@ do_scan_subfolders (gpointer in_data, gpointer op_data, CamelException *ex) info = g_new (scan_subfolders_folderinfo_t, 1); info->path = g_strdup_printf ("/%s", (char *) lsub->pdata[i]); info->uri = g_strdup_printf ("%s%s%s", input->source_uri, splice, - lsub->pdata[i]); + (char *)lsub->pdata[i]); g_ptr_array_add (data->new_folders, info); } diff --git a/mail/mail-threads.h b/mail/mail-threads.h index b84b71d836..e27f07d789 100644 --- a/mail/mail-threads.h +++ b/mail/mail-threads.h @@ -52,9 +52,12 @@ gboolean mail_operation_queue (const mail_operation_spec * spec, /* User interface hooks for the other thread */ +#if 0 void mail_op_set_percentage (gfloat percentage); void mail_op_hide_progressbar (void); void mail_op_show_progressbar (void); +#endif + void mail_op_set_message (gchar * fmt, ...) G_GNUC_PRINTF (1, 2); void mail_op_error (gchar * fmt, ...) G_GNUC_PRINTF (1, 2); gboolean mail_op_get_password (gchar * prompt, gboolean secret, -- cgit v1.2.3