1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

audio/murmur: Fix build with OpenSSL 3

- Refresh patches

Approved by:	portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2023-06-11 19:53:50 +02:00
parent 8fad06789b
commit 761e1abcc6
2 changed files with 17 additions and 2 deletions

View File

@ -1,6 +1,6 @@
--- scripts/murmur.ini.orig 2019-10-22 15:01:53 UTC
--- scripts/murmur.ini.orig 2020-09-04 21:33:39 UTC
+++ scripts/murmur.ini
@@ -102,13 +102,13 @@ icesecretwrite=
@@ -93,13 +93,13 @@ icesecretwrite=
; logs to the file 'murmur.log'. If you leave this field blank
; on Unix-like systems, Murmur will force itself into foreground
; mode which logs to the console.

View File

@ -0,0 +1,15 @@
--- src/SelfSignedCertificate.cpp.orig 2023-06-11 17:43:07 UTC
+++ src/SelfSignedCertificate.cpp
@@ -45,10 +45,12 @@ bool SelfSignedCertificate::generate(CertificateType c
QString commonName;
bool isServerCert = certificateType == CertificateTypeServerCertificate;
+#ifdef CRYPTO_MEM_CHECK_ON
if (CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON) == -1) {
ok = false;
goto out;
}
+#endif
x509 = X509_new();
if (x509 == NULL) {