Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242058 - media-gfx/blender-2.47-r1 fails to build against ffmpeg 0.4.9_p20081014
Summary: media-gfx/blender-2.47-r1 fails to build against ffmpeg 0.4.9_p20081014
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 241942
  Show dependency tree
 
Reported: 2008-10-14 14:31 UTC by Alexis Ballier
Modified: 2008-12-22 14:39 UTC (History)
1 user (show)

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


Attachments
fix (lavc.patch,838 bytes, patch)
2008-10-14 14:32 UTC, Alexis Ballier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Ballier gentoo-dev 2008-10-14 14:31:24 UTC
This ffmpeg version has a big api change. I'll attach the patch; note that I
have *not* upstreamed it as I don't know how you handle your relations with
upstream. If you want me to do it, please let me know. This bug will serve me
to track the unmasking of ffmpeg from another bug, so please don't close it
until it's really ok.
Comment 1 Alexis Ballier gentoo-dev 2008-10-14 14:32:32 UTC
Created attachment 168426 [details, diff]
fix

this should do it, use avcodec_decode_audio2 instead of the old one, setting data_size to get the exact same thing as avcodec_decode_audio
Comment 2 Markus Meier gentoo-dev 2008-10-16 05:30:00 UTC
fixed in media-gfx/blender-2.48-r2, thanks for the patch.
lu_zero: you should know how to poke upstream, I haven't yet had the pleasure.
Comment 3 Alexis Ballier gentoo-dev 2008-10-16 09:21:44 UTC
if the diff between -r1 and -r2 is only that patch then there is no need to mask it I think
Comment 4 Markus Meier gentoo-dev 2008-10-16 18:47:51 UTC
moved your patch to -r1 and removed masked -r2 version, everything should be fine now.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2008-12-22 14:39:44 UTC
2.48a-r3 is the current stable.. with the ffmpeg mentioned in summary. no need to keep this bug open anymore.