Date: Tue, 2 Aug 2016 18:02:43 +0000 (UTC) From: Olli Hauer <ohauer@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r419488 - head/mail/postfix/files Message-ID: <201608021802.u72I2hXS054910@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ohauer Date: Tue Aug 2 18:02:43 2016 New Revision: 419488 URL: https://svnweb.freebsd.org/changeset/ports/419488 Log: - fix build with libressl-devel PR: 211502 Reported by: Helmut Ritter Obtained from: http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/mail/postfix/stable/patches/ Added: head/mail/postfix/files/patch-src_tls_tls.h - copied unchanged from r416820, head/mail/postfix-current/files/patch-src_tls_tls.h Copied: head/mail/postfix/files/patch-src_tls_tls.h (from r416820, head/mail/postfix-current/files/patch-src_tls_tls.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/postfix/files/patch-src_tls_tls.h Tue Aug 2 18:02:43 2016 (r419488, copy of r416820, head/mail/postfix-current/files/patch-src_tls_tls.h) @@ -0,0 +1,14 @@ +# fix build against LibreSSL +# Obtained from: http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/mail/postfix/stable/patches/ +# +--- src/tls/tls.h.orig 2016-02-06 20:09:41 UTC ++++ src/tls/tls.h +@@ -89,7 +89,7 @@ extern const char *str_tls_level(int); + #endif + + /* Backwards compatibility with OpenSSL < 1.1.0 */ +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + #define OpenSSL_version_num SSLeay + #define OpenSSL_version SSLeay_version + #define OPENSSL_VERSION SSLEAY_VERSION
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608021802.u72I2hXS054910>