Bug 270275 - graphics/blender: Fix compatibility with FFmpeg 6.0
Summary: graphics/blender: Fix compatibility with FFmpeg 6.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Daniel Engberg
URL:
Keywords:
Depends on:
Blocks: 261302
  Show dependency treegraph
 
Reported: 2023-03-16 22:09 UTC by Daniel Engberg
Modified: 2023-03-25 14:57 UTC (History)
1 user (show)

See Also:
FreeBSD: maintainer-feedback+


Attachments
Patch for blender (2.77 KB, patch)
2023-03-16 22:09 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2023-03-16 22:09:23 UTC
Created attachment 240905 [details]
Patch for blender

Fix build with FFmpeg 6.0

Compile tested on FreeBSD 13.2-BETA1 (amd64)
Poudriere testport OK 12.3-RELEASE (amd64)

Source:
https://github.com/archlinux/svntogit-community/blob/master/blender/trunk/blender-ffmpeg6.patch
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2023-03-18 16:11:24 UTC
Can you give this a spin using FFmpeg 4 (current version in tree)?
Comment 2 Shane 2023-03-19 23:49:26 UTC
It does build with ffmpeg 4.4.3
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-03-25 14:57:02 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0ed9c88a8c2de8744cb63163bdff9f9e4a71693e

commit 0ed9c88a8c2de8744cb63163bdff9f9e4a71693e
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-03-25 14:48:29 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-03-25 14:48:33 +0000

    graphics/blender: Fix compatibility with FFmpeg 6.0

    Fix build with FFmpeg 6.0

    Source:
    https://github.com/archlinux/svntogit-community/blob/master/blender/trunk/blender-ffmpeg6.patch

    PR:             270275
    Reviewed by:    Shane Ambler <FreeBSD@ShaneWare.Biz> (maintainer)

 ...rce_blender_blenkernel_intern_writeffmpeg.c (new) | 11 +++++++++++
 ...h-source_blender_imbuf_intern_anim__movie.c (new) | 11 +++++++++++
 ...patch-source_blender_imbuf_intern_indexer.c (new) | 20 ++++++++++++++++++++
 3 files changed, 42 insertions(+)
Comment 4 Daniel Engberg freebsd_committer freebsd_triage 2023-03-25 14:57:13 UTC
Committed, thanks