Bug 270248

Summary: games/hedgewars: 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 CC: jbeich
Priority: --- Flags: bugzilla: maintainer-feedback? (amdmi3)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 261302    
Attachments:
Description Flags
switch to ffmpeg4 none

Description Daniel Engberg freebsd_committer freebsd_triage 2023-03-15 17:17:11 UTC
Can't find any patch upstream or in another repo

Reference: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261302#c46
Comment 1 Jan Beich freebsd_committer freebsd_triage 2023-03-17 21:09:01 UTC
Created attachment 240929 [details]
switch to ffmpeg4

Possible workarounds:
- disable VIDEOREC option
- switch to ffmpeg4
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-04-27 12:05:29 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4ea6ffb836ed71110fff16f6569e6957fcdeaa91

commit 4ea6ffb836ed71110fff16f6569e6957fcdeaa91
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-04-27 10:07:40 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-04-27 12:01:43 +0000

    games/hedgewars: Move to FFmpeg 4

    Fails to build with FFmpeg 6

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

 games/hedgewars/Makefile                                      |  4 +++-
 .../files/patch-cmake__modules_FindLIBAV.cmake (new)          | 11 +++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)