Bug 270187

Summary: audio/aubio: FFmpeg 6.0 compatibility fix
Product: Ports & Packages Reporter: Daniel Engberg <diizzy>
Component: Individual Port(s)Assignee: Jason E. Hale <jhale>
Status: Closed FIXED    
Severity: Affects Only Me CC: diizzy
Priority: --- Flags: jhale: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 261302    
Attachments:
Description Flags
Patch for aubio none

Description Daniel Engberg freebsd_committer freebsd_triage 2023-03-13 21:14:05 UTC
Created attachment 240832 [details]
Patch for aubio

Backport upstream commits cdfe9cef2dcc3edf7d05ca2e9c2dbbf8dea21f1c and 8a05420e5dd8c7b8b2447f82dc919765876511b3 to fix build with FFmpeg 6.0

References:
https://github.com/aubio/aubio/commit/cdfe9cef2dcc3edf7d05ca2e9c2dbbf8dea21f1c.patch
https://github.com/aubio/aubio/commit/8a05420e5dd8c7b8b2447f82dc919765876511b3.patch

Compile tested on FreeBSD 13.2-BETA1
Poudriere testport OK 12.3-RELEASE (amd64)
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2023-03-13 21:15:14 UTC
I couldn't find an obvious way to run tests and given that upstream development seems to have stalled we might want to consider upgrading to latest commit
Comment 2 Jason E. Hale freebsd_committer freebsd_triage 2023-03-18 14:23:37 UTC
(In reply to Daniel Engberg from comment #1)
Looks fine. The tests run automatically when the TESTS option is selected. "make test" doesn't have an effect. audio/py-aubio looks fine, as well.
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-03-18 14:24:56 UTC
A commit in branch main references this bug:

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

commit 7b8fd461b1a56f2dde0dfad1b941875e936986a2
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-03-18 14:19:31 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2023-03-18 14:24:13 +0000

    audio/aubio: Prepare for FFmpeg 6.x update

    PR:             270187

 audio/aubio/Makefile | 6 +++++-
 audio/aubio/distinfo | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)
Comment 4 Jason E. Hale freebsd_committer freebsd_triage 2023-03-18 14:26:55 UTC
Committed, thanks!