diff options
author | 2021-01-08 16:13:25 +0000 | |
---|---|---|
committer | 2021-01-09 12:45:12 +0000 | |
commit | 9d525905e50dc0b4902b9811db594af913e5d60d (patch) | |
tree | aefcab4302b7ddbc5aeb3cc7cd21f62994532147 /net-vpn/i2pd/files | |
parent | dev-ml/parmap: bump to 1.2 (diff) | |
download | gentoo-9d525905e50dc0b4902b9811db594af913e5d60d.tar.gz gentoo-9d525905e50dc0b4902b9811db594af913e5d60d.tar.bz2 gentoo-9d525905e50dc0b4902b9811db594af913e5d60d.zip |
net-vpn/i2pd: version bump to 2.35.0
Signed-off-by: Alexey Korepanov <kaikaikai@yandex.ru>
Closes: https://bugs.gentoo.org/763033
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-vpn/i2pd/files')
-rw-r--r-- | net-vpn/i2pd/files/i2pd-2.35.0-avx-detection.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/net-vpn/i2pd/files/i2pd-2.35.0-avx-detection.patch b/net-vpn/i2pd/files/i2pd-2.35.0-avx-detection.patch new file mode 100644 index 000000000000..6e407f1978ce --- /dev/null +++ b/net-vpn/i2pd/files/i2pd-2.35.0-avx-detection.patch @@ -0,0 +1,32 @@ +From ca3b8191510c1006d031d02c50edcf6b4f6a6e8f Mon Sep 17 00:00:00 2001 +From: R4SAS <r4sas@i2pmail.org> +Date: Thu, 10 Dec 2020 18:32:41 +0300 +Subject: [PATCH] [avx] check ig c++ target supports AVX + +Signed-off-by: R4SAS <r4sas@i2pmail.org> +--- + libi2pd/Crypto.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/libi2pd/Crypto.cpp ++++ b/libi2pd/Crypto.cpp +@@ -638,7 +638,7 @@ namespace crypto + { + uint64_t buf[256]; + uint64_t hash[12]; // 96 bytes +-#if defined(__x86_64__) || defined(__i386__) ++#if (defined(__x86_64__) || defined(__i386__)) && defined(__AVX__) // not all X86 targets supports AVX (like old Pentium, see #1600) + if(i2p::cpu::avx) + { + __asm__ +--- a/libi2pd/Identity.cpp ++++ b/libi2pd/Identity.cpp +@@ -828,7 +828,7 @@ namespace data + XORMetric operator^(const IdentHash& key1, const IdentHash& key2) + { + XORMetric m; +-#if defined(__x86_64__) || defined(__i386__) ++#if (defined(__x86_64__) || defined(__i386__)) && defined(__AVX__) // not all X86 targets supports AVX (like old Pentium, see #1600) + if(i2p::cpu::avx) + { + __asm__ |