Bug 270207

Summary: graphics/osg: Fails to build with FFmpeg 6.0
Product: Ports & Packages Reporter: Daniel Engberg <diizzy>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (amdmi3)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 261302    
Attachments:
Description Flags
Patch for osg none

Description Daniel Engberg freebsd_committer freebsd_triage 2023-03-14 12:10:11 UTC
This also includes graphics/osg34

Related issue upstream, https://github.com/openscenegraph/OpenSceneGraph/issues/1111

Reference:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261302#c46
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2023-04-26 12:01:32 UTC
Created attachment 241761 [details]
Patch for osg

Move graphics/osg* to FFmpeg 4
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-04-27 12:05:25 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8ae71fbb335508c140898af9da2d50e8a19cfce0

commit 8ae71fbb335508c140898af9da2d50e8a19cfce0
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-04-27 09:40:57 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-04-27 12:01:42 +0000

    graphics/osg*: Move to FFmpeg 4

    Fails to build with FFmpeg 6

    PR:             270207
    Approved by:    portmgr (blanket, build fix)
    Sponsored by:   Blinkinblox

 graphics/osg/Makefile                                          |  4 +++-
 graphics/osg/files/patch-CMakeModules_FindFFmpeg.cmake (new)   | 10 ++++++++++
 graphics/osg34/Makefile                                        |  6 ++++--
 graphics/osg34/files/patch-CMakeModules_FindFFmpeg.cmake (new) | 10 ++++++++++
 4 files changed, 27 insertions(+), 3 deletions(-)