Created attachment 194274 [details] patch Tested on 11-STABLE, looks fine.
Didn't think libressl was still used so I removed it but this appears to work fine.
(In reply to xxjack12xx from comment #1) Hm, why wouldn't LibreSSL be used? There are still security/libressl and security/libressl-devel ports, and they are well maintained, thanks to Bernard.
Maybe the right word is the libressl patching still needed since i already saw upstream already added a new ifdef in the existing code defined(LIBRESSL_VERSION_NUMBER) but seems we need to make sure it only applies to that specific version. Will let the upstream know that they need to put < 0x20700000 in addition to if libressl is installed so we can get rid of our patch.
I tested 0.36 and it builds without problems with libressl.
Added new bug to upgrade the port https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236924
0.36 build with LibreSSL.