Summary: | multimedia/kodi: build fail with libressl | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Ivan Rozhuk <rozhuk.im> | ||||||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||||||
Status: | Closed Overcome By Events | ||||||||||
Severity: | Affects Some People | CC: | decke, rozhuk.im, yzrh | ||||||||
Priority: | --- | Flags: | yzrh:
maintainer-feedback+
|
||||||||
Version: | Latest | ||||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
Bug Depends on: | 273961 | ||||||||||
Bug Blocks: | |||||||||||
Attachments: |
|
Description
Ivan Rozhuk
2023-09-02 23:42:04 UTC
Created attachment 244619 [details]
patch
Sorry for delay. I think it is safe to simply swap the calls, as from OpenSSL 1.1.0, EVP_MD_CTX_create() and EVP_MD_CTX_destroy() are renamed anyway. It was quick for LibreSSL to remove all the (backward compatible) references. Created attachment 244696 [details]
Use new functions for *ssl
Created attachment 244697 [details]
testport log
Builds fine, so it seems.
Current patches are wrong. ... -- Found OpenSSL: /usr/lib/libcrypto.so (found suitable version "1.1.1v", minimum required is "1.1.0") ... kodi use include files from libressl but links with base OpenSSL. Same issue was here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273609 Fast fix is: CMAKE_ARGS+= -DOPENSSL_ROOT_DIR=${OPENSSLBASE} But probably this must be handled by build system, due to affect many ports. |