Bug 270187 - audio/aubio: FFmpeg 6.0 compatibility fix
Summary: audio/aubio: FFmpeg 6.0 compatibility fix
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: Jason E. Hale
URL:
Keywords:
Depends on:
Blocks: 261302
  Show dependency treegraph
 
Reported: 2023-03-13 21:14 UTC by Daniel Engberg
Modified: 2023-03-18 14:26 UTC (History)
1 user (show)

See Also:
jhale: maintainer-feedback+


Attachments
Patch for aubio (1.22 KB, patch)
2023-03-13 21:14 UTC, Daniel Engberg
no flags Details | Diff

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