From 95a4eb3373930e682d11c74d1e3f101306eb9eb8 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Tue, 23 Mar 2021 21:00:11 +0100 Subject: net-vpn/i2pd: remove unused patch Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger Closes: https://github.com/gentoo/gentoo/pull/20085 Signed-off-by: Joonas Niilola --- net-vpn/i2pd/files/i2pd-2.35.0-avx-detection.patch | 32 ---------------------- 1 file changed, 32 deletions(-) delete mode 100644 net-vpn/i2pd/files/i2pd-2.35.0-avx-detection.patch (limited to 'net-vpn') 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 deleted file mode 100644 index 6e407f1978ce..000000000000 --- a/net-vpn/i2pd/files/i2pd-2.35.0-avx-detection.patch +++ /dev/null @@ -1,32 +0,0 @@ -From ca3b8191510c1006d031d02c50edcf6b4f6a6e8f Mon Sep 17 00:00:00 2001 -From: R4SAS -Date: Thu, 10 Dec 2020 18:32:41 +0300 -Subject: [PATCH] [avx] check ig c++ target supports AVX - -Signed-off-by: R4SAS ---- - 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__ -- cgit v1.2.3-65-gdbad