From nobody Sun Jun 18 10:29:18 2023 X-Original-To: dev-commits-ports-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QkTf7107Gz4f0cx; Sun, 18 Jun 2023 10:29:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QkTf70ZY9z3hmf; Sun, 18 Jun 2023 10:29:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687084159; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gOlOgNnL5e/fZaU7bKA5wDwos/Sz4SiJoODc9VGfMaA=; b=oSDLOLvPLECPQiY6fJaL95/OnabNBozHDsqE52EuC/ype8u2pVkHuYhgAKBxEU3g1HlqFi pbE6ZnS229xPZrRTSRkSeLxZmTDFe0lsDviQjM890gtBwx87USizECLDq6Vwn9zEgAVfEm U7+u89qDvFWiTX/1udXWzkQ2enk6X8MLgVsqs+sI9ojhaP4C49wEEvn1A1UlG+r7zAVOtQ mG3CbqGVOOmQaiXBdlaJHDWudCypj6HDHprj0rO08+jvKvTVE8KGhuvwXi5/3FfE/6gLKq X5Fz0qKXuzc0hEOzlnHeGAByHA12rcNMjAxlCqo46R8xHVQB9wb6ScZVNGqb9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687084159; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gOlOgNnL5e/fZaU7bKA5wDwos/Sz4SiJoODc9VGfMaA=; b=TMCcX+adhXpxmr6ONIT+oMiUq5CAfzr6beK1Y7cHJzaoznqB5TCYDSBaNzrGEljmFaOL3D ETax017CwocbBi/ARj+99vGzaKQPT/eM3LvdJjLGe1fuDqN39A0jKXzBS8mRValPXVPFYI ocBOEgpZuogr0GFPDSwnIoMmmEGY3+8ukPq+4+bmaYKsjVpDuTOlrhNU/bUKs2UVNfe9SN hZCs3x98aCIYG3WP4cO99Qj0dd3xNiDYesaI0gT+6y0ldg4ACkmTFxmUlA3wLuWHbQAO7g vxPjvEtvmXH0Xz7SrBW/Rd/QuTYXQ6DVgSQfN14CJniR5X5sOnPUL69uXvBzoQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687084159; a=rsa-sha256; cv=none; b=ux+HAytlXGoG0FBKRHz5wl7tjq/8W50JemgwaXFQ+mbQkw5MMyakIG2P5vLzZ85HXO/y7l exq2S9j9mSyf854HpTt1SbDiewWMHpVUZ+sgBTvmhpVjdHRZUz4Yc0cmInLMUF+GSeUaDo 8C4u87JxWDN+4yBlqg5MUxap4/9MoCP8YhcOLnIWHv6/IqZ62QHO/I+5IiLEl/s8Ekv0Lp mawKeKTXxKDNn5UNNXSxDzI1dM4JWbtohvAXrkop476yirqpsoS3zCVIwnoonKG79/9llH 6RnmXH2R43Apnh7AF3pkq88wbKPOpEnCzR1LX/9sn8bmlvr2j6gLi01yaquciA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QkTf66lMczXFv; Sun, 18 Jun 2023 10:29:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35IATIt8098840; Sun, 18 Jun 2023 10:29:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35IATIom098839; Sun, 18 Jun 2023 10:29:18 GMT (envelope-from git) Date: Sun, 18 Jun 2023 10:29:18 GMT Message-Id: <202306181029.35IATIom098839@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Gleb Popov Subject: git: 30d279cccdb7 - 2023Q2 - net/minidlna: Teach minidlna to handle .ass subtitle format. List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-branches@freebsd.org X-BeenThere: dev-commits-ports-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/2023Q2 X-Git-Reftype: branch X-Git-Commit: 30d279cccdb743ffef6ba19f84b8f469fd0a3bfb Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch 2023Q2 has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=30d279cccdb743ffef6ba19f84b8f469fd0a3bfb commit 30d279cccdb743ffef6ba19f84b8f469fd0a3bfb Author: Gleb Popov AuthorDate: 2023-06-18 10:26:46 +0000 Commit: Gleb Popov CommitDate: 2023-06-18 10:29:05 +0000 net/minidlna: Teach minidlna to handle .ass subtitle format. (cherry picked from commit fd5e21bd97945073316f3a3fbd110c13ef3827ae) --- net/minidlna/Makefile | 1 + net/minidlna/files/patch-metadata.c | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/net/minidlna/Makefile b/net/minidlna/Makefile index 5bb84ea0f470..e846ae7f1958 100644 --- a/net/minidlna/Makefile +++ b/net/minidlna/Makefile @@ -1,5 +1,6 @@ PORTNAME= minidlna PORTVERSION= 1.3.2 +PORTREVISION= 1 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) + {