git: fd5e21bd9794 - main - net/minidlna: Teach minidlna to handle .ass subtitle format.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 Jun 2023 10:28:03 UTC
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=fd5e21bd97945073316f3a3fbd110c13ef3827ae commit fd5e21bd97945073316f3a3fbd110c13ef3827ae Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2023-06-18 10:26:46 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2023-06-18 10:27:53 +0000 net/minidlna: Teach minidlna to handle .ass subtitle format. --- net/minidlna/Makefile | 2 +- net/minidlna/files/patch-metadata.c | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/net/minidlna/Makefile b/net/minidlna/Makefile index 38d6d6a04493..5b7e6c81a60d 100644 --- a/net/minidlna/Makefile +++ b/net/minidlna/Makefile @@ -1,6 +1,6 @@ PORTNAME= minidlna PORTVERSION= 1.3.2 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= net multimedia www MASTER_SITES= SF diff --git a/net/minidlna/files/patch-metadata.c b/net/minidlna/files/patch-metadata.c new file mode 100644 index 000000000000..32b4bde4729b --- /dev/null +++ b/net/minidlna/files/patch-metadata.c @@ -0,0 +1,14 @@ +--- metadata.c.orig 2022-08-30 05:42:54 UTC ++++ metadata.c +@@ -146,6 +146,11 @@ check_for_captions(const char *path, int64_t detailID) + strcpy(p, ".smi"); + ret = access(file, R_OK); + } ++ if (ret != 0) ++ { ++ strcpy(p, ".ass"); ++ ret = access(file, R_OK); ++ } + + if (ret == 0) + {