From nobody Mon Jul 11 13:54:34 2022 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 660CB1D08DEF; Mon, 11 Jul 2022 13:54:35 +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 4LhQNq0LnYz3ryQ; Mon, 11 Jul 2022 13:54:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657547675; 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=1G5pH/1H3nK59+0RnlthbMf63Fc4OK7UDuixLOxVMM4=; b=CPlSIzWpm/K8hB/VFSRjKHvhZ2JF8ZNmPEeYFaI3ynQVRblLfXOGq2Q22Fgoz5UgX6HD9w PiKoM693trFtJpsLFbCi39waA1pgCYnHaKC5CcJnjoMYUezBCS53zV4B62vrlO6GWNZkeJ R+YKvgMDwFXu/pbBKfmjCEGT+dj+6+mj5kivT36Cupk4D9/2DU8+QeFHF3fZdUoWpUJylK GwneIBVhnGXrtb9+gB0bQalyAPNLYUpc+gDaUfT1FHsgwJ9c8ZiYGhvxJ3AjZ5C8axejqQ W0P7JYI7p5gYDxUtTHp2kNPKR0ZwTVwXCxVNqaAdNWLCPWEmLXmE1F71gtZl8g== 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 4LhQNp6Ygpz15W2; Mon, 11 Jul 2022 13:54:34 +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 26BDsYnq014112; Mon, 11 Jul 2022 13:54:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26BDsYWC014111; Mon, 11 Jul 2022 13:54:34 GMT (envelope-from git) Date: Mon, 11 Jul 2022 13:54:34 GMT Message-Id: <202207111354.26BDsYWC014111@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 4c2fddeb7f59 - main - lang/python37: Fix build with LibreSSL 3.5.* 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4c2fddeb7f59dbb8a861e425784a4a02fc11e40b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657547675; 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=1G5pH/1H3nK59+0RnlthbMf63Fc4OK7UDuixLOxVMM4=; b=DskUDvCxRRA26W7oOY5rZCKTv4+CZJ9uB+aBIdoz6PXsg1pwGU3zMIT/qii+kCl+f2ejwb 4Y86SDLbXsjDYyLbVoiZ+Nki6oBM+qWq8cm62E73ZMFiGZkzwkw2JHGWZ7MhlCxWyJgJoN jHbiLNK/bCRB0IeT81Ozj0T1qwDwh/JDyyKJsC18hLVua/OIhxHlxnfvK6N+b2ivE0sbRQ /sUV40tywZkPW2G6ML4RMk0muzWn4EPYXk811SySyLHoyDoKhtsFRRIn5OwJp5nlxlpBb+ ydcCFbOWfLPbLkjSGBG9Kq/dHuL2EEPm+XXLYFeacpwRAYybHYe2Ka5JzkCm+w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657547675; a=rsa-sha256; cv=none; b=DX/D3+2fTxXz67cw/4Sh6hC7N3B500Kut7hymyXEi46Gj9IjAr/Gbe/Xn0IEhwBtOj/K+6 8zyZxOShBm5aEx501qsct/MIc0fG5oZpRgf/0grj6Lri6bOtti5a/BDUoZjg3Gmr6iEajH y4HDwFHg/J6s3Q1/3wTwv/o6NWS8OLKXBnjToXflM7lRAzIoO9ARDjE7VLO+acdsaeu3rv m362f3E/Vd6VoEGm4GEfM1MKC68AKPLjOTN8h0lTHetG9puEDh2Qhit/GaVuo+toOr/KDT R1vIw50lN1AC0+XwwmDEe6tAhjpNyWy9Qa+TgUO6tMk2tEJVwtWliG6p3Skmuw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=4c2fddeb7f59dbb8a861e425784a4a02fc11e40b commit 4c2fddeb7f59dbb8a861e425784a4a02fc11e40b Author: Bernard Spil AuthorDate: 2022-07-11 13:51:30 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-07-11 13:51:30 +0000 lang/python37: Fix build with LibreSSL 3.5.* PR: 264000 --- lang/python37/files/patch-libressl | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lang/python37/files/patch-libressl b/lang/python37/files/patch-libressl new file mode 100644 index 000000000000..30b46f470050 --- /dev/null +++ b/lang/python37/files/patch-libressl @@ -0,0 +1,13 @@ +Fix build with LibreSSL 3.5.* + +--- Modules/_hashopenssl.c.orig 2022-03-16 13:27:21 UTC ++++ Modules/_hashopenssl.c +@@ -42,7 +42,7 @@ module _hashlib + #define HASH_OBJ_CONSTRUCTOR 0 + #endif + +-#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER) ++#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) + /* OpenSSL < 1.1.0 */ + #define EVP_MD_CTX_new EVP_MD_CTX_create + #define EVP_MD_CTX_free EVP_MD_CTX_destroy