mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
dns/powerdns-recursor: Fix build with LibreSSL 2.7
- LibreSSL 2.7 implements OpenSSL 1.1 API PR: 227183 Approved by: Ralf van der Enden <tremere cainites net> (maintainer)
This commit is contained in:
parent
8d2dfbfbdb
commit
36ef9ab669
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=466346
12
dns/powerdns-recursor/files/patch-opensslsigners.cc
Normal file
12
dns/powerdns-recursor/files/patch-opensslsigners.cc
Normal file
@ -0,0 +1,12 @@
|
||||
--- opensslsigners.cc.orig 2018-01-22 13:39:07 UTC
|
||||
+++ 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;
|
||||
|
12
dns/powerdns-recursor40/patch-opensslsigners.cc
Normal file
12
dns/powerdns-recursor40/patch-opensslsigners.cc
Normal file
@ -0,0 +1,12 @@
|
||||
--- opensslsigners.cc.orig 2018-01-22 13:39:07 UTC
|
||||
+++ 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;
|
||||
|
Loading…
Reference in New Issue
Block a user