Bug 271120 - graphics/opencv: fix build with FFMPEG option enabled
Summary: graphics/opencv: fix build with FFMPEG option enabled
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Daniel Engberg
URL:
Keywords:
Depends on:
Blocks: 261302
  Show dependency treegraph
 
Reported: 2023-04-28 14:31 UTC by Eric Camachat
Modified: 2023-05-07 12:31 UTC (History)
3 users (show)

See Also:
vishwin: maintainer-feedback+


Attachments
Fix build with FFMPEG option enabled (620 bytes, patch)
2023-04-28 14:31 UTC, Eric Camachat
no flags Details | Diff
Fix build with FFMPEG option enabled (1.75 KB, patch)
2023-04-29 20:28 UTC, Eric Camachat
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!