diff options
author | Sam James <sam@gentoo.org> | 2024-01-05 14:16:17 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-01-05 14:16:17 +0000 |
commit | a258eee15cc0f85b035ea4e67c977ab51fb852cf (patch) | |
tree | 91e38a7f5728e11189804b02d9fed2516cfc0771 /dev-python/pycryptodome | |
parent | net-vpn/i2p: revbump to fix separated user dirs (diff) | |
download | gentoo-a258eee15cc0f85b035ea4e67c977ab51fb852cf.tar.gz gentoo-a258eee15cc0f85b035ea4e67c977ab51fb852cf.tar.bz2 gentoo-a258eee15cc0f85b035ea4e67c977ab51fb852cf.zip |
dev-python/pycryptodome: add another gcc 14 configure patch
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/pycryptodome')
-rw-r--r-- | dev-python/pycryptodome/files/pycryptodome-3.19.1-gcc14-configure.patch | 25 | ||||
-rw-r--r-- | dev-python/pycryptodome/pycryptodome-3.19.1-r2.ebuild (renamed from dev-python/pycryptodome/pycryptodome-3.19.1-r1.ebuild) | 0 |
2 files changed, 25 insertions, 0 deletions
diff --git a/dev-python/pycryptodome/files/pycryptodome-3.19.1-gcc14-configure.patch b/dev-python/pycryptodome/files/pycryptodome-3.19.1-gcc14-configure.patch index ee87f615b814..f2d24f9cf696 100644 --- a/dev-python/pycryptodome/files/pycryptodome-3.19.1-gcc14-configure.patch +++ b/dev-python/pycryptodome/files/pycryptodome-3.19.1-gcc14-configure.patch @@ -1,5 +1,6 @@ https://github.com/Legrandin/pycryptodome/issues/787 https://github.com/Legrandin/pycryptodome/commit/b4083688fde0580de6c2a4d36d84da31a2549a2c +https://github.com/Legrandin/pycryptodome/commit/3f6a86e072ef0e650f04eebf086940e6d8b33c03 From b4083688fde0580de6c2a4d36d84da31a2549a2c Mon Sep 17 00:00:00 2001 From: Helder Eijs <helderijs@gmail.com> @@ -44,5 +45,29 @@ Subject: [PATCH] Better autodetect of AES support, in case of aggressive + return ret; } """ + +From 3f6a86e072ef0e650f04eebf086940e6d8b33c03 Mon Sep 17 00:00:00 2001 +From: Helder Eijs <helderijs@gmail.com> +Date: Fri, 29 Dec 2023 14:52:15 +0100 +Subject: [PATCH] Use memset, to avoid emmintrin.h + +--- + compiler_opt.py | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/compiler_opt.py b/compiler_opt.py +index 57db0a6f..a2711c09 100644 +--- a/compiler_opt.py ++++ b/compiler_opt.py +@@ -169,7 +169,8 @@ def compiler_supports_aesni(): + } + int main(void) { + int ret; +- __m128i x = _mm_setzero_si128(); ++ __m128i x; ++ memset(&x, 0, sizeof(x)); + x = f(x, x); + memcpy(&ret, &x, sizeof(ret)); + return ret; diff --git a/dev-python/pycryptodome/pycryptodome-3.19.1-r1.ebuild b/dev-python/pycryptodome/pycryptodome-3.19.1-r2.ebuild index 89a5edcca25b..89a5edcca25b 100644 --- a/dev-python/pycryptodome/pycryptodome-3.19.1-r1.ebuild +++ b/dev-python/pycryptodome/pycryptodome-3.19.1-r2.ebuild |