michael@478: --- ./crypt-gpgme.c.orig 2009-07-01 21:28:51.000000000 -0400 michael@478: +++ ./crypt-gpgme.c 2009-07-01 21:31:52.000000000 -0400 michael@478: @@ -342,6 +342,7 @@ michael@478: gpgme_error_t err; michael@478: gpgme_ctx_t ctx; michael@478: michael@478: + gpgme_check_version (NULL); michael@478: if (!GpgmeLocaleSet) michael@478: { michael@478: gpgme_set_locale (NULL, LC_CTYPE, setlocale (LC_CTYPE, NULL)); michael@478: --- imap/message.c michael@478: +++ imap/message.c michael@478: @@ -288,7 +288,7 @@ michael@478: continue; michael@478: } michael@478: /* May receive FLAGS updates in a separate untagged response (#2935) */ michael@478: - if (idx < ctx->msgcount) michael@478: + if (ctx->hdrs[idx] != NULL) michael@478: { michael@478: dprint (2, (debugfile, "imap_read_headers: message %d is not new\n", michael@478: h.sid)); michael@478: Index: configure michael@478: --- configure.orig 2010-08-25 18:31:47.000000000 +0200 michael@478: +++ configure 2011-01-23 12:26:36.000000000 +0100 michael@478: @@ -9723,7 +9723,7 @@ michael@478: fi michael@478: michael@478: saved_LIBS="$LIBS" michael@478: - LIBS= michael@478: + #LIBS= michael@478: michael@478: # OpenSolaris provides a SASL2 interface in libsasl michael@478: sasl_libs="sasl2 sasl"