Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2025 04:54:25 +0000
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7575dffc31cf - main - net/minidlna: fix build with newer ffmpeg
Message-ID:  <691ff081.a781.1a432d8c@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7575dffc31cf9e5577b848f0de4a66251f97b324

commit 7575dffc31cf9e5577b848f0de4a66251f97b324
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2025-11-21 04:52:51 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2025-11-21 04:54:21 +0000

    net/minidlna: fix build with newer ffmpeg
    
    PR:     289034
---
 net/minidlna/files/patch-libav.h | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/net/minidlna/files/patch-libav.h b/net/minidlna/files/patch-libav.h
new file mode 100644
index 000000000000..461d5d5eb43b
--- /dev/null
+++ b/net/minidlna/files/patch-libav.h
@@ -0,0 +1,14 @@
+--- libav.h.orig	2025-07-25 01:55:58 UTC
++++ libav.h
+@@ -174,7 +174,11 @@ lav_get_interlaced(AVStream *s)
+ #define lav_codec_tag(s) s->codecpar->codec_tag
+ #define lav_sample_rate(s) s->codecpar->sample_rate
+ #define lav_bit_rate(s) s->codecpar->bit_rate
++#if LIBAVUTIL_VERSION_MAJOR >= 59
++#define lav_channels(s) s->codecpar->ch_layout.nb_channels
++#else
+ #define lav_channels(s) s->codecpar->channels
++#endif
+ #define lav_width(s) s->codecpar->width
+ #define lav_height(s) s->codecpar->height
+ #define lav_profile(s) s->codecpar->profile


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?691ff081.a781.1a432d8c>