Created attachment 191794 [details] patch LibreSSL 2.7 brings in new incompatibilities. This patch fixes build of bind912 with it. Tested with both LibreSSL 2.7 and base OpenSSL 1.0.1.
Has this been submitted upstream?
(In reply to Mathieu Arnold from comment #1) Not yet, I currently have a lot of things on my TODO list and just trying to empty it.
This problem has been reported upstream on 2018-04-17 https://gitlab.isc.org/isc-projects/bind9/issues/210
(In reply to Bernard Spil from comment #3) Patches were merged upstream 5 days ago. https://gitlab.isc.org/isc-projects/bind9/merge_requests/234 Looks like the commiter for those patches is also responsible for a bug report back to libressl that helped bump it from 2.7.2 to 2.7.3 https://github.com/libressl-portable/openbsd/commit/44408c1c543908b1be2fcf50ea578d2ddc052cc2
Looks like not even the upstream, merged patch has made it to 9.12.1P2.
Created attachment 193625 [details] 9.12.1P2 This patch incorporates what upstream merged but didn't make into 9.12.1P2, the current version in the ports tree. Passes testport.
Mmmm, could you provide only one patch file that will patch all the required files? It will be easier to remove once it is not needed any more.
Created attachment 194059 [details] 9.12.1P2 condensed Also includes the original commit messages. The "third" commit was a changelog that would not apply cleanly for rather obvious reasons.
A commit references this bug: Author: mat Date: Fri Jun 8 13:28:14 UTC 2018 New revision: 471999 URL: https://svnweb.freebsd.org/changeset/ports/471999 Log: Fix build with LibreSSL 2.7. PR: 226903 Submitted by: Charlie Li Reported by: Piotr Kubaj Sponsored by: Absolight Changes: head/dns/bind912/files/patch-libressl2.7