diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-07 13:07:16 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-07 13:07:16 +0800 |
commit | 6831479d17ffd27c8c8b40342dda07e2c5a2cbac (patch) | |
tree | 37e32079b4cdc165653bb0ee69db69edfb51cf7b | |
parent | 8ca1c76f2e7ff72fa00b4b240348f3a041cf3ead (diff) | |
download | marcuscom-ports-6831479d17ffd27c8c8b40342dda07e2c5a2cbac.tar marcuscom-ports-6831479d17ffd27c8c8b40342dda07e2c5a2cbac.tar.gz marcuscom-ports-6831479d17ffd27c8c8b40342dda07e2c5a2cbac.tar.bz2 marcuscom-ports-6831479d17ffd27c8c8b40342dda07e2c5a2cbac.tar.lz marcuscom-ports-6831479d17ffd27c8c8b40342dda07e2c5a2cbac.tar.xz marcuscom-ports-6831479d17ffd27c8c8b40342dda07e2c5a2cbac.tar.zst marcuscom-ports-6831479d17ffd27c8c8b40342dda07e2c5a2cbac.zip |
Fix imap4 provider build.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8839 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | databases/evolution-data-server/files/patch-camel_providers_imap4_camel-imap4-store.c | 11 | ||||
-rw-r--r-- | databases/evolution-data-server/files/patch-camel_providers_imap4_camel-imap4-summary.c | 19 |
2 files changed, 30 insertions, 0 deletions
diff --git a/databases/evolution-data-server/files/patch-camel_providers_imap4_camel-imap4-store.c b/databases/evolution-data-server/files/patch-camel_providers_imap4_camel-imap4-store.c new file mode 100644 index 000000000..aa55a089d --- /dev/null +++ b/databases/evolution-data-server/files/patch-camel_providers_imap4_camel-imap4-store.c @@ -0,0 +1,11 @@ +--- camel/providers/imap4/camel-imap4-store.c.orig Mon May 7 00:57:52 2007 ++++ camel/providers/imap4/camel-imap4-store.c Mon May 7 00:58:34 2007 +@@ -324,7 +324,7 @@ connect_to_server (CamelIMAP4Engine *eng + + camel_imap4_command_unref (ic); + +- if (camel_tcp_stream_ssl_enable_ssl ((SpruceTcpStreamSSL *) tcp_stream) == -1) { ++ if (camel_tcp_stream_ssl_enable_ssl (CAMEL_TCP_STREAM_SSL (tcp_stream)) == -1) { + camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM, + _("Failed to connect to IMAP server %s in secure mode: %s"), + service->url->host, _("TLS negotiations failed")); diff --git a/databases/evolution-data-server/files/patch-camel_providers_imap4_camel-imap4-summary.c b/databases/evolution-data-server/files/patch-camel_providers_imap4_camel-imap4-summary.c new file mode 100644 index 000000000..55db1a65d --- /dev/null +++ b/databases/evolution-data-server/files/patch-camel_providers_imap4_camel-imap4-summary.c @@ -0,0 +1,19 @@ +--- camel/providers/imap4/camel-imap4-summary.c.orig Mon May 7 01:01:31 2007 ++++ camel/providers/imap4/camel-imap4-summary.c Mon May 7 01:05:32 2007 +@@ -1148,6 +1148,7 @@ static CamelIMAP4Command * + imap4_summary_fetch_flags (CamelFolderSummary *summary) + { + CamelFolder *folder = summary->folder; ++ CamelIMAP4Summary *imap4_summary = (CamelIMAP4Summary *) summary; + struct imap4_fetch_all_t *fetch; + CamelMessageInfo *info[2]; + CamelIMAP4Engine *engine; +@@ -1479,7 +1480,7 @@ camel_imap4_summary_flush_updates (Camel + } + } else { + /* need to fetch new envelopes */ +- first = scount + 1; ++ seqid = scount + 1; + } + + if (seqid != 0 && seqid <= imap4_summary->exists) { |