From 3f3b341baf1fef56ea9089a11f1f20cb669b67e4 Mon Sep 17 00:00:00 2001 From: Chris Hutchinson Date: Sat, 3 Jan 2026 20:54:08 -0800 Subject: [PATCH] audio/aqualung: remove BROKEN, patch dec_lavc.c --- audio/aqualung/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/audio/aqualung/Makefile b/audio/aqualung/Makefile index 9e3b41038eaa..be46e66b5ee1 100644 --- a/audio/aqualung/Makefile +++ b/audio/aqualung/Makefile @@ -1,14 +1,12 @@ PORTNAME= aqualung DISTVERSION= 1.2 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= audio MAINTAINER= portmaster@BSDforge.com COMMENT= Music player with rich features WWW= https://aqualung.jeremyevans.net/ -BROKEN= Does not build with ffmpeg > 6 - PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= a991c13d0df734a5d0fea7db6b181176858f3e58.patch:-p1 # Support newer audio/mac PATCHFILES+= d2c88317b6042a05c236faf3c09f600337c6379e.patch:-p1 # Support newer audio/mac @@ -71,5 +69,8 @@ post-patch: # Remove unused duplicate global symbols (-fno-common) @${REINPLACE_CMD} -E '/^g?char command/d' \ ${WRKSRC}/src/gui_main.c +# avcodec_close deprecated in ffmpeg 4 + @${REINPLACE_CMD} -e 's/avcodec_close/avcodec_free_context/g' \ + ${WRKSRC}/src/decoder/dec_lavc.c .include -- 2.49.0