net-im/tg_owt: fix screen sharing crash issue

While I'm here regenerate another patch.

Bump PORTREVISION.

PR:	267461
This commit is contained in:
Sergey A. Osokin 2024-12-02 10:02:14 -05:00
parent c014a235ce
commit 683f6abb3e
3 changed files with 14 additions and 2 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= tg_owt
PORTVERSION= 0.0.20241116
PORTREVISION= 1
CATEGORIES= net-im
MAINTAINER= ports@FreeBSD.org

View File

@ -0,0 +1,11 @@
--- src/modules/audio_device/audio_device_impl.cc.orig 2024-12-02 05:33:43 UTC
+++ src/modules/audio_device/audio_device_impl.cc
@@ -141,7 +141,7 @@ int32_t AudioDeviceModuleImpl::CheckPlatform() {
#elif defined(WEBRTC_ANDROID)
platform = kPlatformAndroid;
RTC_LOG(LS_INFO) << "current platform is Android";
-#elif defined(WEBRTC_LINUX)
+#elif defined(WEBRTC_LINUX) || defined(WEBRTC_FREEBSD)
platform = kPlatformLinux;
RTC_LOG(LS_INFO) << "current platform is Linux";
#elif defined(WEBRTC_IOS)

View File

@ -1,6 +1,6 @@
--- src/rtc_base/openssl_adapter.cc.orig 2023-06-08 13:40:19 UTC
--- src/rtc_base/openssl_adapter.cc.orig 2024-11-16 05:27:29 UTC
+++ src/rtc_base/openssl_adapter.cc
@@ -192,7 +192,9 @@ bool OpenSSLAdapter::InitializeSSL() {
@@ -176,7 +176,9 @@ bool OpenSSLAdapter::InitializeSSL() {
// Loading the error strings crashes mac_asan. Omit this debugging aid there.
SSL_load_error_strings();
#endif