git: 693496987a34 - main - net-im/telegram-desktop@qt6: Fix build with OpenSSL 3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 08 Jun 2023 22:58:00 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=693496987a340867e34119e5876547fd06527076 commit 693496987a340867e34119e5876547fd06527076 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-08 18:02:54 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-08 22:57:47 +0000 net-im/telegram-desktop@qt6: Fix build with OpenSSL 3 --- net-im/tg_owt/Makefile | 1 + net-im/tg_owt/files/patch-src_rtc__base_openssl__adapter.cc | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/net-im/tg_owt/Makefile b/net-im/tg_owt/Makefile index 08c61c8478c1..c83d4727b358 100644 --- a/net-im/tg_owt/Makefile +++ b/net-im/tg_owt/Makefile @@ -1,5 +1,6 @@ PORTNAME= tg_owt PORTVERSION= 0.0.20230501 +PORTREVISION= 1 CATEGORIES= net-im MAINTAINER= ports@FreeBSD.org diff --git a/net-im/tg_owt/files/patch-src_rtc__base_openssl__adapter.cc b/net-im/tg_owt/files/patch-src_rtc__base_openssl__adapter.cc new file mode 100644 index 000000000000..0f4becf9578a --- /dev/null +++ b/net-im/tg_owt/files/patch-src_rtc__base_openssl__adapter.cc @@ -0,0 +1,12 @@ +--- src/rtc_base/openssl_adapter.cc.orig 2023-06-08 13:40:19 UTC ++++ src/rtc_base/openssl_adapter.cc +@@ -192,7 +192,9 @@ bool OpenSSLAdapter::InitializeSSL() { + // Loading the error strings crashes mac_asan. Omit this debugging aid there. + SSL_load_error_strings(); + #endif ++#if defined(OPENSSL_VERSION_MAJOR) && (OPENSSL_VERSION_MAJOR < 3) + ERR_load_BIO_strings(); ++#endif + OpenSSL_add_all_algorithms(); + RAND_poll(); + return true;