Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 602396 - games-emulation/pcsxr does not compile against >=media-video/ffmpeg-3
Summary: games-emulation/pcsxr does not compile against >=media-video/ffmpeg-3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
: 608482 (view as bug list)
Depends on:
Blocks: ffmpeg-3
  Show dependency tree
 
Reported: 2016-12-12 00:20 UTC by shinydoofy
Modified: 2017-06-17 09:56 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch using replacement functions (pcsxr-1.9.94-ffmpeg-3.patch,1.85 KB, patch)
2016-12-12 00:20 UTC, shinydoofy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description shinydoofy 2016-12-12 00:20:45 UTC
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.
Comment 1 Alex Barker 2016-12-16 17:06:40 UTC
This patch has address the issue for me (~amd64).  Thank you for the contribution.
Comment 2 Alex Barker 2016-12-16 17:08:03 UTC
P.S.  I dont think the install patch for this package is used anywhere.
Comment 3 Patrick McMunn 2016-12-27 00:38:23 UTC
This patch worked for me as well. FYI, the upstream git code for pcsxr also compiles fine with ffmpeg 3 with no patches needed.
Comment 4 Toralf Förster gentoo-dev 2017-03-16 18:56:12 UTC
*** Bug 608482 has been marked as a duplicate of this bug. ***
Comment 5 Pacho Ramos gentoo-dev 2017-06-17 09:56:51 UTC
[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