Wed, 08 Feb 2012 20:07:00 +0200
Update version, adapt patch, correct PID writing, correct build on newer
FreeBSD releases, and most importantly introduce new patch to try to
avoid segfault caused by multiple network interfaces with the same (or
no) address. This is common when configuring bridges and tunnels.
michael@478 | 1 | --- ./crypt-gpgme.c.orig 2009-07-01 21:28:51.000000000 -0400 |
michael@478 | 2 | +++ ./crypt-gpgme.c 2009-07-01 21:31:52.000000000 -0400 |
michael@478 | 3 | @@ -342,6 +342,7 @@ |
michael@478 | 4 | gpgme_error_t err; |
michael@478 | 5 | gpgme_ctx_t ctx; |
michael@478 | 6 | |
michael@478 | 7 | + gpgme_check_version (NULL); |
michael@478 | 8 | if (!GpgmeLocaleSet) |
michael@478 | 9 | { |
michael@478 | 10 | gpgme_set_locale (NULL, LC_CTYPE, setlocale (LC_CTYPE, NULL)); |
michael@478 | 11 | --- imap/message.c |
michael@478 | 12 | +++ imap/message.c |
michael@478 | 13 | @@ -288,7 +288,7 @@ |
michael@478 | 14 | continue; |
michael@478 | 15 | } |
michael@478 | 16 | /* May receive FLAGS updates in a separate untagged response (#2935) */ |
michael@478 | 17 | - if (idx < ctx->msgcount) |
michael@478 | 18 | + if (ctx->hdrs[idx] != NULL) |
michael@478 | 19 | { |
michael@478 | 20 | dprint (2, (debugfile, "imap_read_headers: message %d is not new\n", |
michael@478 | 21 | h.sid)); |
michael@478 | 22 | Index: configure |
michael@478 | 23 | --- configure.orig 2010-08-25 18:31:47.000000000 +0200 |
michael@478 | 24 | +++ configure 2011-01-23 12:26:36.000000000 +0100 |
michael@478 | 25 | @@ -9723,7 +9723,7 @@ |
michael@478 | 26 | fi |
michael@478 | 27 | |
michael@478 | 28 | saved_LIBS="$LIBS" |
michael@478 | 29 | - LIBS= |
michael@478 | 30 | + #LIBS= |
michael@478 | 31 | |
michael@478 | 32 | # OpenSolaris provides a SASL2 interface in libsasl |
michael@478 | 33 | sasl_libs="sasl2 sasl" |