Bug 270314

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

Description Daniel Engberg freebsd_committer freebsd_triage 2023-03-18 12:33:19 UTC
Can't find any obvious commit or issue report regarding this upstream

Reference:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261302#c46
Comment 1 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2023-03-18 16:09:53 UTC
I am going to update the entire linphone stack which will need some times as there are dependent ports owned by others. However in worst case scenario commit to use ffmpeg4 for now.

I am also not sure whether if it supports ffmpeg 6 or not but I can see a comment in one of their CMakeFile which states:
"# For Arch Linux, FFMpeg 5 isn't supported with the actual code because of a definition issue in ffmpeg-private.h
# The build is working with the package ffmpeg4.4, but we have to add its path to find_path calls"

https://gitlab.linphone.org/BC/public/mediastreamer2/-/blob/master/cmake/FindFFMpeg.cmake#L35

So maybe it's not yet supported. But let's see what happens with my updates.

Please do not mark this MAINTAINER-TIMEOUT as this might take more than 14 days to commit all the updates.
Comment 2 Daniel Engberg freebsd_committer freebsd_triage 2023-04-26 13:51:23 UTC
Created attachment 241767 [details]
Patch for mediastreamer

Move to FFmpeg 4
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-04-27 12:05:16 UTC
A commit in branch main references this bug:

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

commit c46e6a05c6cbb14f740a04718bbfc3249a01765b
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-04-27 10:24:46 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-04-27 12:01:44 +0000

    net/mediastreamer: Move to FFmpeg 4

    Fails to build with FFmpeg 6

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

 net/mediastreamer/Makefile                         |  4 +++-
 net/mediastreamer/files/patch-CMakeLists.txt (new) | 10 ++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)