From nobody Thu Jun 08 22:58:00 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qcfkd04lgz4bqQs; Thu, 8 Jun 2023 22:58:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qcfkc6S99z3NQF; Thu, 8 Jun 2023 22:58:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686265080; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hU30jww+HFjLsbcxGgC9EsD6t2O81afBAkiq3jS0EAM=; b=LYLm8HlPddgU4/fFayC9j99gz4t/tooyBBqK51qpqBvpGJOMP5OZSwuI5qj2c5GqUGXkBl W+u/Dzo2b99Fo9ta3I4r4W2Xq/SZXanjBc73pK33ne1E1LXrWemFtU/xUGiY0DXtIyjZXs BWCqQIiRFLqB8xk+rUjGJpzWKcXI1hRKWZz4kF1/kF67ZwveiMXrXwYpAUCsGnvafybRU2 AW8u5aFTbiqq4v0C9ZAeBIrWtrs6VKHQT9C4l9uXevd52lCg5JdFjvxK9CWvEQ3/mwWkaV WhS1lHv/hOddzcKXhaWaChj6C8OuHvLl9I9C3gVq71+cb7z1TJuDG+WXtQ0Rtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686265080; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hU30jww+HFjLsbcxGgC9EsD6t2O81afBAkiq3jS0EAM=; b=o/U5JOb8p/yw7TpfBW36xwTHLRJ65xg9sZIXME+7ZnbpJq+Nj4CaOkv+UzOP12+iXWWar7 Z4oDGtJ2roXqrqpqGUp03HUyGQrJa9tFFgvkoJXf86b99rOJG+4uwjVwKloYmDtcIub00r 6InNXveElWfmZBs1UPEc1Tk0WSmtIXojDpjSIgPfkhXVKZfpVd9AQm3Gyg7EN02GDAwYem TBVk1AqNw6nxOfl3sG5IMLsUt9uoFL9bULf6MvdKFpKCTz5BDpMocFWAW+vF8NYx+7EOhf 3sk9ya+eIQ3b8P/9VOCOAJYiKxNtCBzoOt4L6GgMlDF0tqwapdXSNr4lCha3Yw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686265080; a=rsa-sha256; cv=none; b=yhbv7xezXPu8u2zRFJD8JSgFecgcAQv6QITwFbFGdLgJfBs10msJXvjuM88Vsgnbx667h8 YLUJwy77NzywdYjtKOvnNklLuSLxTNVtu2p3XiS5GJFKR1Rw/8rHNnZqDeqQ6cfo46XpnG S4tHsdYVpxzo8NJt/hGYzppdpMcXesUbCPce1pnmdyC1b0WPQDsdER6OuJrfsKTa6uJUej 5ifGZjiP2HziofWCb3T41CLoykcILx3lvELAcv185pyxYqwjko7wrYVRPWRbeC69TCUf5e yu73Nvd+1NMfWj2mEbsLgx0HxtV64C0v8luRdwgeCSAsIOrHsyOsfjKQN0DtCw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Qcfkc5V6Tz1Bfk; Thu, 8 Jun 2023 22:58:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 358Mw0RM093478; Thu, 8 Jun 2023 22:58:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 358Mw0Rk093477; Thu, 8 Jun 2023 22:58:00 GMT (envelope-from git) Date: Thu, 8 Jun 2023 22:58:00 GMT Message-Id: <202306082258.358Mw0Rk093477@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 693496987a34 - main - net-im/telegram-desktop@qt6: Fix build with OpenSSL 3 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 693496987a340867e34119e5876547fd06527076 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=693496987a340867e34119e5876547fd06527076 commit 693496987a340867e34119e5876547fd06527076 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-08 18:02:54 +0000 Commit: Muhammad Moinur Rahman 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;