With >=dev-libs/openssl-1.1.0, compilation fails with: At top level: rtmp.c:2907:19: warning: ‘av_NetConnection_Connect_Rejected’ defined but not used [-Wunused-const-variable=] static const AVal av_NetConnection_Connect_Rejected = ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rtmp.c:1559:35: warning: ‘av_record’ defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^~~ rtmp.c:1905:1: note: in expansion of macro ‘SAVC’ SAVC(record); ^~~~ make[1]: *** [<builtin>: rtmp.o] Error 1 make[1]: *** Waiting for unfinished jobs.... hashswf.c:292:12: error: field ‘ctx’ has incomplete type HMAC_CTX ctx; ^~~ hashswf.c: In function ‘RTMP_HashSWF’: hashswf.c:60:35: warning: implicit declaration of function ‘HMAC_CTX_init’; did you mean ‘HMAC_CTX_new’? [-Wimplicit-function-declaration] #define HMAC_setup(ctx, key, len) HMAC_CTX_init(&ctx); HMAC_Init_ex(&ctx, (unsigned char *)key, len, EVP_sha256(), 0) ^~~~~~~~~~~~~ hashswf.c:585:3: note: in expansion of macro ‘HMAC_setup’ HMAC_setup(in.ctx, "Genuine Adobe Flash Player 001", 30); ^~~~~~~~~~ hashswf.c:63:25: warning: implicit declaration of function ‘HMAC_CTX_cleanup’; did you mean ‘HMAC_CTX_get_md’? [-Wimplicit-function-declaration] #define HMAC_close(ctx) HMAC_CTX_cleanup(&ctx) ^~~~~~~~~~~~~~~~ hashswf.c:651:3: note: in expansion of macro ‘HMAC_close’ HMAC_close(in.ctx); ^~~~~~~~~~ make[1]: *** [<builtin>: hashswf.o] Error 1
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdd0e4da50f82b1badca13b52feb19e4b80b9468 commit cdd0e4da50f82b1badca13b52feb19e4b80b9468 Author: Craig Andrews <candrews@gentoo.org> AuthorDate: 2018-10-25 13:37:51 +0000 Commit: Craig Andrews <candrews@gentoo.org> CommitDate: 2018-10-25 13:37:51 +0000 media-video/rtmpdump: OpenSSL 1.1 fix, swf verification type 2 Closes: https://bugs.gentoo.org/669574 Signed-off-by: Craig Andrews <candrews@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 .../rtmpdump/files/rtmpdump-openssl-1.1.patch | 249 +++++++++++++++++++++ .../files/rtmpdump-swf_vertification_type_2.patch | 13 ++ .../rtmpdump-swf_vertification_type_2_part_2.patch | 21 ++ .../rtmpdump/rtmpdump-2.4_p20161210-r2.ebuild | 99 ++++++++ media-video/rtmpdump/rtmpdump-9999.ebuild | 34 ++- 5 files changed, 411 insertions(+), 5 deletions(-)