commit: 16affe90b644281efc5b4d2daf15e1c21afdc049 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Sat May 15 15:42:36 2021 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Sat May 15 17:46:47 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16affe90
dev-util/radare2: remove unused patch(es) Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/20819 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> .../radare2/files/radare2-5.2.0-ssl-build.patch | 54 ---------------------- 1 file changed, 54 deletions(-) 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 8701adb6266..00000000000 --- 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 <[email protected]> -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 <openssl/md4.h> - #include <openssl/md5.h> - #include <openssl/sha.h> -+ -+# 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 -
