[Midnightbsd-cvs] [MidnightBSD/mports] dc0425: audio/chromaprint: fix build with FFmpeg 7.0+

Lucas Holt noreply at github.com
Thu May 14 15:28:03 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: dc042546bab3806fd7b1135dd147060a261db76f
      https://github.com/MidnightBSD/mports/commit/dc042546bab3806fd7b1135dd147060a261db76f
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-05-14 (Thu, 14 May 2026)

  Changed paths:
    M audio/chromaprint/Makefile
    A audio/chromaprint/files/patch-src_audio_ffmpeg_audio_reader.h

  Log Message:
  -----------
  audio/chromaprint: fix build with FFmpeg 7.0+

Two APIs removed in FFmpeg 7.0 broke the build:
- avfft (FFT backend): switch to bundled kissfft
- avcodec_close(): replace with avcodec_free_context()

Update LIB_DEPENDS from libavcodec to libswresample, which is the
actual runtime dependency when using the swresample audio processor.
Bump PORTREVISION.

AI-Assisted-by: Claude Sonnet 4.6 <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications


More information about the Midnightbsd-cvs mailing list