Bug 271120

Summary: graphics/opencv: fix build with FFMPEG option enabled
Product: Ports & Packages Reporter: Eric Camachat <eric>
Component: Individual Port(s)Assignee: Daniel Engberg <diizzy>
Status: Closed FIXED    
Severity: Affects Only Me CC: diizzy, freebsd, vishwin
Priority: --- Flags: vishwin: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 261302    
Attachments:
Description Flags
Fix build with FFMPEG option enabled
none
Fix build with FFMPEG option enabled none

Description Eric Camachat 2023-04-28 14:31:41 UTC
Created attachment 241825 [details]
Fix build with FFMPEG option enabled
Comment 1 Charlie Li freebsd_committer freebsd_triage 2023-04-28 14:43:24 UTC
Please use/reference this upstream commit directly: https://github.com/opencv/opencv/commit/496eed950f6d0e7fd92619d47e3cec8f06e96ace
Comment 2 Eric Camachat 2023-04-29 20:28:56 UTC
Created attachment 241860 [details]
Fix build with FFMPEG option enabled
Comment 3 Eric Camachat 2023-05-01 15:39:56 UTC
(In reply to Charlie Li from comment #1)
Updated.
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-05-07 12:31:17 UTC
A commit in branch main references this bug:

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

commit 8bd3d37b900647ff172b53c443a52892f9b9a516
Author:     Eric Camachat <eric@camachat.org>
AuthorDate: 2023-05-07 12:28:50 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-05-07 12:28:54 +0000

    graphics/opencv: Fix build with FFMPEG option enabled

    Backport upstream commit 496eed950f6d0e7fd92619d47e3cec8f06e96ace to fix
    build when FFMPEG option is enabled with FFmpeg 6

    PR:             271120
    Approved by:    portmgr (blanket, build fix)

 graphics/opencv/Makefile | 3 +++
 graphics/opencv/distinfo | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)
Comment 5 Daniel Engberg freebsd_committer freebsd_triage 2023-05-07 12:31:38 UTC
Committed, thanks!