Bug 270275

Summary: graphics/blender: Fix compatibility with FFmpeg 6.0
Product: Ports & Packages Reporter: Daniel Engberg <diizzy>
Component: Individual Port(s)Assignee: Daniel Engberg <diizzy>
Status: Closed FIXED    
Severity: Affects Only Me CC: FreeBSD
Priority: --- Flags: FreeBSD: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 261302    
Attachments:
Description Flags
Patch for blender none

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