Date: Tue, 3 Apr 2018 15:16:00 +0000 (UTC) From: Bernard Spil <brnrd@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466359 - head/dns/powerdns/files Message-ID: <201804031516.w33FG0Aw069623@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brnrd Date: Tue Apr 3 15:16:00 2018 New Revision: 466359 URL: https://svnweb.freebsd.org/changeset/ports/466359 Log: dns/powerdns: Fix build with LibreSSL 2.7 - LibreSSL 2.7 implements OpenSSL 1.1 API PR: 227184 Approved by: Ralf van der Enden <tremere cainites net> (maintainer) Added: head/dns/powerdns/files/patch-pdns_opensslsigners.cc (contents, props changed) Added: head/dns/powerdns/files/patch-pdns_opensslsigners.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/powerdns/files/patch-pdns_opensslsigners.cc Tue Apr 3 15:16:00 2018 (r466359) @@ -0,0 +1,12 @@ +--- pdns/opensslsigners.cc.orig 2018-02-16 09:52:29 UTC ++++ pdns/opensslsigners.cc +@@ -33,7 +33,8 @@ + #include "opensslsigners.hh" + #include "dnssecinfra.hh" + +-#if (OPENSSL_VERSION_NUMBER < 0x1010000fL || defined LIBRESSL_VERSION_NUMBER) ++#if (OPENSSL_VERSION_NUMBER < 0x1010000fL || \ ++ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)) + /* OpenSSL < 1.1.0 needs support for threading/locking in the calling application. */ + static pthread_mutex_t *openssllocks; +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804031516.w33FG0Aw069623>