From nobody Mon Jul 11 13:54:35 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 7203B1D09133; Mon, 11 Jul 2022 13:54:37 +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 4LhQNr1PdBz3s99; Mon, 11 Jul 2022 13:54:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657547676; 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=4+bnFZ9aLyXXLz+5PoX1GLp5xmIJe9I13keBoGYF9iU=; b=SGTA0Q4UABGKF54a25tUj0BZpEoX80bvtl2uy7zSdO4WSTL5cUX+vlw7t1dgIDHii25nkX sCjCIlfWsFO2TRmiNzDhWruyYT4+M6L1QO4pLGC9kPyz6OQ+RDg6F+OGURK2FledQZV07X Gr08IiS/3G5ib4LSVpLscSGHIDid1NPN3Q6eLiJaqfzr3DB5ZIiaATx/fxm/C1MZqyygOj ggPZJ3ma62Xb0H2uW3N8O8uNr4A0Sfr5XaZ3ts3gh7b35iOewTJqSwGQjLx6n5khrl4gaU 3rK2cPK7p2ZBJqRXZVsR8WAvLN83efKa+ap3Sj3iqWhsLMUFCVP8sJFU0w9PAw== 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 4LhQNr0Tmkz15kk; Mon, 11 Jul 2022 13:54:36 +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 26BDsZCx014142; Mon, 11 Jul 2022 13:54:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26BDsZT0014141; Mon, 11 Jul 2022 13:54:35 GMT (envelope-from git) Date: Mon, 11 Jul 2022 13:54:35 GMT Message-Id: <202207111354.26BDsZT0014141@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: 45b8965983b9 - main - lang/python38: 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: 45b8965983b9eb9ef808fe36a3346e2881bb16a0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657547676; 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=4+bnFZ9aLyXXLz+5PoX1GLp5xmIJe9I13keBoGYF9iU=; b=N80n2B1WlRSTaH7IExIOnQ83g1mHIG9VHy+CwWfjUwPeQB0yyOJI/Rq2SDpbahQnGimPpr IsGWt0RheMDDuErdStPfHykdauzFJw6rctezc2gU16Ci9XhroqU+nZlr+d/Wv7PJJG1qqm NoCWZNCZxXq+lSW568HEc5hHj2bzeyEgdls4+M16LwnqbzmNZj4VsnPX14715FNpazMiZ1 ImiKMTeGs5tybL/CE811mE3wikeQ/jhy/baZz7IlAPBDGzEllyCtr+5FTk66x73Bo4Lr1q CDr/hCYKmA2Sv0woDq/F795QLBsFNZ1dXR5gFMXK0wUaX8yaWJzqkJLpcxSEKQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657547676; a=rsa-sha256; cv=none; b=Z9syKpnevvyT9St3q3hMY+O5sRny44JcrApZZx9CS0lGSLtVS4fG4JhBZvTD8BbvDFivGK xeFG2OXGWPKbHwnzvk/HSBSapPXwQg7C8VMqQLyxlsT5NmdF7H0QUw1tuIo98SozSfLDRR 8ZvUDoUbl8ni3VDtQYzAieijgawhPq3B5INcD/3rVTk1Vn+hoSONYNRCaTM74DHjWAnrO8 Be0FcMuvARCMvjihDw78+2MY9i4PY76WSIB5qFpAn01WaQ3odCgP27Yi3FLzDWy90mgbw+ n5K0AIYrZbPy7MpOeTC0MgKt7yyJ5tNm39McgF6oBagkfEur//Wx+qPm07I7JA== 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=45b8965983b9eb9ef808fe36a3346e2881bb16a0 commit 45b8965983b9eb9ef808fe36a3346e2881bb16a0 Author: Bernard Spil AuthorDate: 2022-07-11 13:51:31 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-07-11 13:51:31 +0000 lang/python38: Fix build with LibreSSL 3.5.* PR: 264000 --- lang/python38/files/patch-libressl | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lang/python38/files/patch-libressl b/lang/python38/files/patch-libressl new file mode 100644 index 000000000000..40e6af2427a8 --- /dev/null +++ b/lang/python38/files/patch-libressl @@ -0,0 +1,13 @@ +Fix build with LibreSSL 3.5.* + +--- Modules/_hashopenssl.c.orig 2022-03-16 12:22:54 UTC ++++ Modules/_hashopenssl.c +@@ -37,7 +37,7 @@ + # error "OPENSSL_THREADS is not defined, Python requires thread-safe OpenSSL" + #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