fails to build with libressl 2.7.2
Summary
Bind 9.11.3 fails to build with libressl 2.7.2
What is the current bug behavior?
the following errors are generated:
cc -pthread -I/wrkdirs/usr/ports/dns/bind911/work/bind-9.11.3 -I../.. -I. -I../../lib/dns -Iinclude -I/wrkdirs/usr/ports/dns/bind911/work/bind-9.11.3/lib/dns/include -I../../lib/dns/include -I/wrkdirs/usr/ports/dns/bind911/work/bind-9.11.3/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/x86_32/include -I/usr/local/include -I/usr/local/include -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_MD5 -DOPENSSL -DDIG_SIGCHASE=1 -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c openssldh_link.c openssldh_link.c:78:1: error: static declaration of 'DH_get0_key' follows non-static declaration DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key) { ^ /usr/local/include/openssl/dh.h:196:6: note: previous declaration is here void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key); ^ openssldh_link.c:86:1: error: static declaration of 'DH_set0_key' follows non-static declaration DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key) { ^ /usr/local/include/openssl/dh.h:197:5: note: previous declaration is here int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); ^ openssldh_link.c:100:1: error: static declaration of 'DH_get0_pqg' follows non-static declaration DH_get0_pqg(const DH *dh, ^ /usr/local/include/openssl/dh.h:193:6: note: previous declaration is here void DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q, ^ openssldh_link.c:112:1: error: static declaration of 'DH_set0_pqg' follows non-static declaration DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) { ^ /usr/local/include/openssl/dh.h:195:5: note: previous declaration is here int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); ^ 4 errors generated. *** Error code 1
Stop. make[3]: stopped in /wrkdirs/usr/ports/dns/bind911/work/bind-9.11.3/lib/dns