FreeBSD Bugzilla – Attachment 244619 Details for
Bug 273534
multimedia/kodi: build fail with libressl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
0932829001.patch (text/plain), 1.05 KB, created by
Ivan Rozhuk
on 2023-09-03 23:59:28 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Ivan Rozhuk
Created:
2023-09-03 23:59:28 UTC
Size:
1.05 KB
patch
obsolete
>From 093282900148a7e5ec0bbe43142f3b34f38fbe1b Mon Sep 17 00:00:00 2001 >From: Rozhuk Ivan <rozhuk.im@gmail.com> >Date: Mon, 4 Sep 2023 02:57:55 +0300 >Subject: [PATCH] multimedia/kodi: fix build with libressl > >--- > .../kodi/files/patch-xbmc_utils_Digest.cpp | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > create mode 100644 multimedia/kodi/files/patch-xbmc_utils_Digest.cpp > >diff --git a/multimedia/kodi/files/patch-xbmc_utils_Digest.cpp b/multimedia/kodi/files/patch-xbmc_utils_Digest.cpp >new file mode 100644 >index 000000000000..f2344c4a93d4 >--- /dev/null >+++ b/multimedia/kodi/files/patch-xbmc_utils_Digest.cpp >@@ -0,0 +1,16 @@ >+--- xbmc/utils/Digest.cpp >++++ xbmc/utils/Digest.cpp >+@@ -94,11 +94,11 @@ >+ >+ void CDigest::MdCtxDeleter::operator()(EVP_MD_CTX* context) >+ { >+- EVP_MD_CTX_destroy(context); >++ EVP_MD_CTX_free(context); >+ } >+ >+ CDigest::CDigest(Type type) >+-: m_context{EVP_MD_CTX_create()}, m_md(TypeToEVPMD(type)) >++: m_context{EVP_MD_CTX_new()}, m_md(TypeToEVPMD(type)) >+ { >+ if (1 != EVP_DigestInit_ex(m_context.get(), m_md, nullptr)) >+ {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 273534
:
244619
|
244696
|
244697