Relevant snippet of build log: /tmp/portage/net-misc/freerdp-2.10.0/work/freerdp-2.10.0/libfreerdp/codec/h264_ffmpeg.c:532:55: error: ‘AV_CODEC_CAP_TRUNCATED’ undeclared (first use in this function); did you mean ‘AV_CODEC_CAP_HARDWARE’? 532 | if (sys->codecDecoder->capabilities & AV_CODEC_CAP_TRUNCATED) | ^~~~~~~~~~~~~~~~~~~~~~ | AV_CODEC_CAP_HARDWARE /tmp/portage/net-misc/freerdp-2.10.0/work/freerdp-2.10.0/libfreerdp/codec/h264_ffmpeg.c:532:55: note: each undeclared identifier is reported only once for each function it appears in /tmp/portage/net-misc/freerdp-2.10.0/work/freerdp-2.10.0/libfreerdp/codec/h264_ffmpeg.c:534:60: error: ‘AV_CODEC_FLAG_TRUNCATED’ undeclared (first use in this function); did you mean ‘AV_CODEC_FLAG_QSCALE’? 534 | sys->codecDecoderContext->flags |= AV_CODEC_FLAG_TRUNCATED; | ^~~~~~~~~~~~~~~~~~~~~~~ | AV_CODEC_FLAG_QSCALE Upstream issue: https://github.com/FreeRDP/FreeRDP/issues/8686 Patch to fix: https://github.com/FreeRDP/FreeRDP/commit/aa2cb9aa5ff5562433598ba168a466e0752bca0e Reproducible: Always
Upstream Stable patch to fix v2.10.0: https://github.com/FreeRDP/FreeRDP/pull/8779/commits/c5d91f8ef584174310970d0f7e31d6ffad7c5246 Tested and works as a User Patch.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da38705a58769604bc1561a23fc7bcd4f60d0056 commit da38705a58769604bc1561a23fc7bcd4f60d0056 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-06-07 10:33:36 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-06-07 10:33:36 +0000 net-misc/freerdp: fix build w/ ffmpeg 6 Closes: https://bugs.gentoo.org/901003 Signed-off-by: Sam James <sam@gentoo.org> .../freerdp/files/freerdp-2.10.0-ffmpeg-6.patch | 37 ++++++ net-misc/freerdp/freerdp-2.10.0-r3.ebuild | 137 +++++++++++++++++++++ 2 files changed, 174 insertions(+)