Created attachment 191794 [details]
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
(In reply to Bernard Spil from comment #3)
Patches were merged upstream 5 days ago.
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
Looks like not even the upstream, merged patch has made it to 9.12.1P2.
Created attachment 193625 [details]
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]
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:
Date: Fri Jun 8 13:28:14 UTC 2018
New revision: 471999
Fix build with LibreSSL 2.7.
Submitted by: Charlie Li
Reported by: Piotr Kubaj
Sponsored by: Absolight