The first FreeBSD version that includes the API is 11.4. I had corrected the OpenSSL code as well. It's better to not include version checks if possible. The code already checks for the existence of the header to enable support a bit further up with has_include. The OpenSSL code does not use has_include that's why it uses the version checks. Also there is another spot missed in the 7zip codebase. I had not noticed the patches section but I had posted a diff here. https://sourceforge.net/p/sevenz...
It's better to not include version checks if possible. The code already checks for the existence of the header to enable support a bit further up. Also there is another spot missed. Also the first FreeBSD version that includes the API is 11.4. I had corrected the OpenSSL code as well. I had not noticed the patches section but I had posted a diff here. https://sourceforge.net/p/sevenzip/bugs/2594/
It's better to not include version checks if not possible. The code already checks for the existence of the header to enable support a bit further up. Also there is another spot missed. Also the first FreeBSD version that includes the API is 11.4. I had corrected the OpenSSL code as well. I had not noticed the patches section but I had posted a diff here. https://sourceforge.net/p/sevenzip/bugs/2594/
Fix building on OpenBSD aarch64
Cleanup OSS header handling
Fix build.
ppcasm_string.S: remove .stabs annotations
decoders.m4: Fix mpcdec check