svn commit: r466359 - head/dns/powerdns/files
Bernard Spil
brnrd at FreeBSD.org
Tue Apr 3 15:16:01 UTC 2018
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;
+
More information about the svn-ports-all
mailing list