Hi All,mail/dovecot build fails when linked against LibreSSL. This is due to LibreSSL no longer including comp.h from ssl.h/ssl3.h.
See https://wiki.freebsd.org/LibreSSL as well.
This patch fixes the build failure. Build log attached as well (not any more, too large! Get it via link just above).
Please commit this fix to the 1.2 branch (2.1 branch is not affected) Kind regards, Bernard Spil.
--- src/login-common/ssl-proxy-openssl.c.orig 2015-03-07 13:25:36.487131678 +0100 +++ src/login-common/ssl-proxy-openssl.c 2015-03-07 13:24:28.303136938 +0100 @@ -21,6 +21,7 @@ #include <openssl/ssl.h> #include <openssl/err.h> #include <openssl/rand.h> +#include <openssl/comp.h> #define DOVECOT_SSL_DEFAULT_CIPHER_LIST "ALL:!LOW:!SSLv2" /* Check every 30 minutes if parameters file has been updated */