aboutsummaryrefslogtreecommitdiff
path: root/dns/powerdns/files
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2018-04-03 15:16:00 +0000
committerBernard Spil <brnrd@FreeBSD.org>2018-04-03 15:16:00 +0000
commit8fcc83a7f403125a71d1fe698d55d23689fe77b6 (patch)
treeadd838bcf63696aef96809fbff296a5643f8e385 /dns/powerdns/files
parentb2ed5f0d5c32f492aaf5e469ef2fa7d2d1dca917 (diff)
downloadports-8fcc83a7f403125a71d1fe698d55d23689fe77b6.tar.gz
ports-8fcc83a7f403125a71d1fe698d55d23689fe77b6.zip
Notes
Diffstat (limited to 'dns/powerdns/files')
-rw-r--r--dns/powerdns/files/patch-pdns_opensslsigners.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/dns/powerdns/files/patch-pdns_opensslsigners.cc b/dns/powerdns/files/patch-pdns_opensslsigners.cc
new file mode 100644
index 000000000000..ca8679c3de57
--- /dev/null
+++ b/dns/powerdns/files/patch-pdns_opensslsigners.cc
@@ -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;
+