From owner-svn-ports-all@freebsd.org Tue Aug 2 18:02:44 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5BC0FBAAEE6; Tue, 2 Aug 2016 18:02:44 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2E42616B4; Tue, 2 Aug 2016 18:02:44 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u72I2hx7054911; Tue, 2 Aug 2016 18:02:43 GMT (envelope-from ohauer@FreeBSD.org) Received: (from ohauer@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u72I2hXS054910; Tue, 2 Aug 2016 18:02:43 GMT (envelope-from ohauer@FreeBSD.org) Message-Id: <201608021802.u72I2hXS054910@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ohauer set sender to ohauer@FreeBSD.org using -f From: Olli Hauer Date: Tue, 2 Aug 2016 18:02:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r419488 - head/mail/postfix/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2016 18:02:44 -0000 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