From 16affe90b644281efc5b4d2daf15e1c21afdc049 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Sat, 15 May 2021 17:42:36 +0200 Subject: [PATCH] dev-util/radare2: remove unused patch(es) Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger Closes: https://github.com/gentoo/gentoo/pull/20819 Signed-off-by: Sergei Trofimovich --- .../files/radare2-5.2.0-ssl-build.patch | 54 ------------------- 1 file changed, 54 deletions(-) delete mode 100644 dev-util/radare2/files/radare2-5.2.0-ssl-build.patch diff --git a/dev-util/radare2/files/radare2-5.2.0-ssl-build.patch b/dev-util/radare2/files/radare2-5.2.0-ssl-build.patch deleted file mode 100644 index 8701adb626646..0000000000000 --- a/dev-util/radare2/files/radare2-5.2.0-ssl-build.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 7273429e4ba85318f0da2ae03ecc154834aaa73b Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich -Date: Mon, 12 Apr 2021 23:48:09 +0100 -Subject: [PATCH] state.c: fix --with-openssl build - -Build failure happens at: - -``` -$ ./configure --with-openssl && make -.... -state.c: In function 'r_hash_do_hmac_sha256': -state.c:155:19: error: 'r_SHA256_BLOCK_LENGTH' undeclared (first use in this function); did you mean 'SHA256_BLOCK_LENGTH'? - 155 | ut8 bskey[r_SHA256_BLOCK_LENGTH]; // block-sized key - | ^~~~~~~~~~~~~~~~~~~~~ - | SHA256_BLOCK_LENGTH -``` - -The change defines r2_.* aliases for openssl implementation. ---- - libr/hash/state.c | 18 ++++++++++++++++++ - 1 file changed, 18 insertions(+) - -diff --git a/libr/hash/state.c b/libr/hash/state.c -index 6f3ae6b4c..93adafc81 100644 ---- a/libr/hash/state.c -+++ b/libr/hash/state.c -@@ -7,6 +7,24 @@ - #include - #include - #include -+ -+# define r_SHA256_BLOCK_LENGTH SHA256_BLOCK_LENGTH -+ -+# define r_SHA1_Init SHA1_Init -+# define r_SHA1_Update SHA1_Update -+# define r_SHA1_Final SHA1_Final -+ -+# define r_SHA256_Init SHA256_Init -+# define r_SHA256_Update SHA256_Update -+# define r_SHA256_Final SHA256_Final -+ -+# define r_SHA384_Init SHA384_Init -+# define r_SHA384_Update SHA384_Update -+# define r_SHA384_Final SHA384_Final -+ -+# define r_SHA512_Init SHA512_Init -+# define r_SHA512_Update SHA512_Update -+# define r_SHA512_Final SHA512_Final - #else - #include "md4.h" - #include "md5.h" --- -2.31.1 -