From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 331FE1580FD for ; Mon, 23 Dec 2024 08:57:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 585EBE077C; Mon, 23 Dec 2024 08:57:55 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 705ABE077C for ; Mon, 23 Dec 2024 08:57:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7E81A335CB4 for ; Mon, 23 Dec 2024 08:57:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A8EC5AF5 for ; Mon, 23 Dec 2024 08:57:51 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1734944236.c7121988c8b10886d2793f83550cfb05ceb24720.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/files/, dev-libs/botan/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/botan/botan-3.6.1.ebuild dev-libs/botan/files/botan-3.6.1-no-avx2.patch X-VCS-Directories: dev-libs/botan/ dev-libs/botan/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c7121988c8b10886d2793f83550cfb05ceb24720 X-VCS-Branch: master Date: Mon, 23 Dec 2024 08:57:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0b12e62f-8ceb-4f41-8426-c2f5d5e2d153 X-Archives-Hash: 7d458ae2f2f7e2f829d4d6a0724342a7 commit: c7121988c8b10886d2793f83550cfb05ceb24720 Author: Sam James gentoo org> AuthorDate: Mon Dec 23 08:57:16 2024 +0000 Commit: Sam James gentoo org> CommitDate: Mon Dec 23 08:57:16 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7121988 dev-libs/botan: fix build w/o avx2 Closes: https://bugs.gentoo.org/946821 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-3.6.1.ebuild | 1 + dev-libs/botan/files/botan-3.6.1-no-avx2.patch | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/dev-libs/botan/botan-3.6.1.ebuild b/dev-libs/botan/botan-3.6.1.ebuild index e47afaa7b00d..7488dcffd9ec 100644 --- a/dev-libs/botan/botan-3.6.1.ebuild +++ b/dev-libs/botan/botan-3.6.1.ebuild @@ -58,6 +58,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${P}-boost-1.87.patch "${FILESDIR}"/${P}-tests-glibcxx_assertions.patch + "${FILESDIR}"/${PN}-3.6.1-no-avx2.patch ) python_check_deps() { diff --git a/dev-libs/botan/files/botan-3.6.1-no-avx2.patch b/dev-libs/botan/files/botan-3.6.1-no-avx2.patch new file mode 100644 index 000000000000..a4794738d6cd --- /dev/null +++ b/dev-libs/botan/files/botan-3.6.1-no-avx2.patch @@ -0,0 +1,25 @@ +https://bugs.gentoo.org/946821 +https://github.com/randombit/botan/issues/4493 +https://github.com/randombit/botan/pull/4494 + +From c7f8f6c0967faac1ba66ca3d55560b2aed12863a Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ren=C3=A9=20Meusel?= +Date: Mon, 23 Dec 2024 09:29:07 +0100 +Subject: [PATCH] FIX: SM4 GFNI needs AVX2 + +closes #4493 +--- + src/lib/block/sm4/sm4_gfni/info.txt | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/lib/block/sm4/sm4_gfni/info.txt b/src/lib/block/sm4/sm4_gfni/info.txt +index 4c5867f9b72..5b5c87b42e7 100644 +--- a/src/lib/block/sm4/sm4_gfni/info.txt ++++ b/src/lib/block/sm4/sm4_gfni/info.txt +@@ -9,4 +9,5 @@ brief -> "SM4 using Intel GFNI" + + + gfni ++avx2 + +