From nobody Fri Jun 30 11:43:16 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 4Qstjw50RDz4kpB5; Fri, 30 Jun 2023 11:43:16 +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 4Qstjw3yW1z44WH; Fri, 30 Jun 2023 11:43:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688125396; 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=3H5ZNYE4pG4KPVCFKlgl2lHr76Y+DzDvPaTrIcdJKJM=; b=nVEHm7OuXP3RAuvE+XawmUof+3ghXE8Ks1CM+rC9rUyqxvZHnwSKk0GuKYMRznTiFo5hAD iGyKQYIPywE8ZYLLkvqBT7ck+DsgLB+0mHSt1Y9HcHYXyk7j5NVYZ2Nx7UPol3Fxckl6ih ElqoNv8hYZkPUH6cs5Djs9VJT60JzHewJxb6fx7GTSS0mJynJER2r9xc4dj7O/dxPA8U8S F0/pKisJEKZNO/wVwltb8m9BvB1QV0tlLYeH0ZyEao3tO+ZYDghUpTDhr8TkOgl3hmnHAp YtzbgnQYIPRhd6otJKbLecX8vJ44Ya3N/n6Wh674eu/qw2VtEnUzpALRphS50A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688125396; 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=3H5ZNYE4pG4KPVCFKlgl2lHr76Y+DzDvPaTrIcdJKJM=; b=Z5ceTGG0+9fhFS3GYTcmCTjAVq47QIBu59jYPILxRs3pCjKRfAEM9ldZvI9RCFqLCq36NC iwe96vvkbnuYx9uUvMaoQ77dM/UONKJpZ6XTEEO3dFSAwQUttluMhIW2jIv8BPwt7XPzd/ oedrwo7PEEcIekhg6U1+GrbZp1IYwD8ygXwVDJcingSa114Z1k0j+3IzJwKInSHTCgQqLk eXK8azRwQBOOpgUz2lMWDgqlDmKHb/nvo78ByQViUbNcGyBaUlS9DIjNFFeaDJUSoOKhoj jM9dST77mllUtxz6UCs/b/G+lNvvWsK7fnb+zLdpGbclsyD7Z2qUHySX5d1AMg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688125396; a=rsa-sha256; cv=none; b=TiDm3V/9IUMugi8SqU5XAiKIna+4kuCR1omQrroyM8U6avrJvg2I41GqN3s3S/LaLn3p7g SNOLQFRw9/6BbkOJS3yIhsHyrkVBNDUblJIQGINWQphLAihn2KGzV4jH5o+CTCB+okclke JQaKrzZGswKhoLOBuFdJzxnPKl/DIAnW/mQYOOErDyPkvcrpl3jBt9pNPv34em6toQ0zp5 OPHaYnW5q5//E80S8FxESZtEvdMR6sJoO0cNeGZxQRlpBzzokAMJ8OE5nZ+t3QG6UvP9Ht VpFHcrGftXjEH5l3a9wOYkYdxS4n9Axn3k4jE8ZhXrEKflbkdN43UKLctS0qJw== 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 4Qstjw2vQbzxlR; Fri, 30 Jun 2023 11:43:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 35UBhGM4015941; Fri, 30 Jun 2023 11:43:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 35UBhGgK015940; Fri, 30 Jun 2023 11:43:16 GMT (envelope-from git) Date: Fri, 30 Jun 2023 11:43:16 GMT Message-Id: <202306301143.35UBhGgK015940@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Tobias Kortkamp Subject: git: 8bcbc1e32c6c - main - lang/rust: Fix build with LibreSSL 3.7.x 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: tobik X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8bcbc1e32c6c141a4855f402ca06516b9c83d0a6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tobik: URL: https://cgit.FreeBSD.org/ports/commit/?id=8bcbc1e32c6c141a4855f402ca06516b9c83d0a6 commit 8bcbc1e32c6c141a4855f402ca06516b9c83d0a6 Author: Tobias Kortkamp AuthorDate: 2023-06-30 09:49:34 +0000 Commit: Tobias Kortkamp CommitDate: 2023-06-30 11:40:19 +0000 lang/rust: Fix build with LibreSSL 3.7.x PR: 266670 Obtained from: OpenBSD Ports --- lang/rust/files/patch-vendor_openssl-sys_build_main.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lang/rust/files/patch-vendor_openssl-sys_build_main.rs b/lang/rust/files/patch-vendor_openssl-sys_build_main.rs new file mode 100644 index 000000000000..f6d42f920789 --- /dev/null +++ b/lang/rust/files/patch-vendor_openssl-sys_build_main.rs @@ -0,0 +1,14 @@ +LibreSSL >3.7.1 isn't explicitly supported. + +Index: vendor/openssl-sys/build/main.rs +--- vendor/openssl-sys/build/main.rs.orig ++++ vendor/openssl-sys/build/main.rs +@@ -284,7 +284,7 @@ See rust-openssl documentation for more information: + (3, 6, _) => ('3', '6', 'x'), + (3, 7, 0) => ('3', '7', '0'), + (3, 7, 1) => ('3', '7', '1'), +- _ => version_error(), ++ _ => ('3', '7', '1'), + }; + + println!("cargo:libressl=true");