Opened 3 years ago

Closed 3 years ago

#51212 closed defect (fixed)

cmus: build fails with ffmpeg-3.0+

Reported by: dbevans (David B. Evans) Owned by: g5pw (Aljaž Srebrnič)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: cmus

Description

As noted in #50694, the current version of cmus fails to build with ffmpeg 3.0+ due to the use of deprecated API removed in 3.0.

The attached patch applies recent upstream commits that address this issue allowing the port to build with either ffmpeg 2.8.6 or 3.0+. I suggest committing these changes now so that the port can be updated to build with ffmpeg 3.0 with a simple revbump when that port is committed.

Attachments (1)

patch-cmus-ffmpeg-3.0.diff (4.3 KB) - added by dbevans (David B. Evans) 3 years ago.
Proposed patch allowing build with either ffmpeg 2.8 or 3.0+

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by dbevans (David B. Evans)

Attachment: patch-cmus-ffmpeg-3.0.diff added

Proposed patch allowing build with either ffmpeg 2.8 or 3.0+

comment:1 Changed 3 years ago by g5pw (Aljaž Srebrnič)

Resolution: fixed
Status: newclosed

Looks good to me, thanks. Updated in r148065.

Note: See TracTickets for help on using tickets.