Created attachment 455944 [details, diff] Patch using replacement functions In commit 8f12ef9860d0e164e4647fd5d5cebdb3cfb34a79 of ffmpeg, some methods were removed that were previously marked as deprecated: - avcodec_alloc_frame - avcodec_get_frame_defaults - avcodec_free_frame This commit later made it into the 3.0 release of ffmpeg games-emulation/pcsxr-1.9.94-r1 still uses them, thus not compiling anymore. Please find attached the patch necessary to use the new functions.
This patch has address the issue for me (~amd64). Thank you for the contribution.
P.S. I dont think the install patch for this package is used anywhere.
This patch worked for me as well. FYI, the upstream git code for pcsxr also compiles fine with ffmpeg 3 with no patches needed.
*** Bug 608482 has been marked as a duplicate of this bug. ***
[master a116e204e9a] games-emulation/pcsxr: Fix compatibility with ffmpeg-3 (#602396 by shinydoofy) 3 files changed, 181 insertions(+), 4 deletions(-) create mode 100644 games-emulation/pcsxr/files/pcsxr-1.9.94-ffmpeg3.patch create mode 100644 games-emulation/pcsxr/pcsxr-1.9.94-r2.ebuild