commit:     24a328ad4d5035ffc5e751fbab71631faa8c24e8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 27 13:23:06 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 27 13:23:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24a328ad

dev-libs/botan: refresh no-avx2 patch to upstream variant

It got tweaked upstream before merging.

Bug: https://bugs.gentoo.org/946821
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/botan/files/botan-3.6.1-no-avx2.patch | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

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
index a4794738d6cd..b72e23c5d6d9 100644
--- a/dev-libs/botan/files/botan-3.6.1-no-avx2.patch
+++ b/dev-libs/botan/files/botan-3.6.1-no-avx2.patch
@@ -2,24 +2,28 @@ 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 07d0556e03c4a2f96c0e26073523b944b86cdfc5 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Ren=C3=A9=20Meusel?= <[email protected]>
 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(+)
+ src/lib/block/sm4/sm4_gfni/info.txt | 4 ++++
+ 1 file changed, 4 insertions(+)
 
 diff --git a/src/lib/block/sm4/sm4_gfni/info.txt 
b/src/lib/block/sm4/sm4_gfni/info.txt
-index 4c5867f9b72..5b5c87b42e7 100644
+index 4c5867f9b72..1ec736e7cd4 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"
+@@ -7,6 +7,10 @@ name -> "SM4 GFNI"
+ brief -> "SM4 using Intel GFNI"
+ </module_info>
  
++<requires>
++simd_avx2
++</requires>
++
  <isa>
  gfni
-+avx2
  </isa>
-

Reply via email to