git: f4410cded2d9 - main - audio/cmus: Replace 8cc20c36d144 with upstream fix

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 09 Jul 2023 13:01:25 UTC
The branch main has been updated by eduardo:

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

commit f4410cded2d96d0d75acff304876bb9078b2e5a3
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2023-07-09 11:32:13 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-07-09 13:01:07 +0000

    audio/cmus: Replace 8cc20c36d144 with upstream fix
---
 audio/cmus/Makefile                |  1 +
 audio/cmus/distinfo                |  4 +++-
 audio/cmus/files/patch-ip_ffmpeg.c | 12 ------------
 3 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/audio/cmus/Makefile b/audio/cmus/Makefile
index 2f1d48d81f45..06273c2f3e06 100644
--- a/audio/cmus/Makefile
+++ b/audio/cmus/Makefile
@@ -6,6 +6,7 @@ CATEGORIES=	audio
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
 PATCHFILES+=	7d3116962bd8.patch:-p1 # https://github.com/cmus/cmus/pull/1221
+PATCHFILES+=	07ce2dc7082a.patch:-p1 # https://github.com/cmus/cmus/pull/1254
 
 MAINTAINER=	eduardo@FreeBSD.org
 COMMENT=	Console-based music player with really cool features
diff --git a/audio/cmus/distinfo b/audio/cmus/distinfo
index 103a8dbc64fb..43a1889c32c6 100644
--- a/audio/cmus/distinfo
+++ b/audio/cmus/distinfo
@@ -1,5 +1,7 @@
-TIMESTAMP = 1657177958
+TIMESTAMP = 1688901999
 SHA256 (cmus-cmus-v2.10.0_GH0.tar.gz) = ff40068574810a7de3990f4f69c9c47ef49e37bd31d298d372e8bcdafb973fff
 SIZE (cmus-cmus-v2.10.0_GH0.tar.gz) = 324121
 SHA256 (7d3116962bd8.patch) = 9f61d5402574eab21aae828265e3fc867f8aba7657c746fab96fd80b4f0d5a52
 SIZE (7d3116962bd8.patch) = 1065
+SHA256 (07ce2dc7082a.patch) = 940e44a28a3a76485a2d687e5c468f8494f1e0caf34df3ab2a25201dc40b33ca
+SIZE (07ce2dc7082a.patch) = 784
diff --git a/audio/cmus/files/patch-ip_ffmpeg.c b/audio/cmus/files/patch-ip_ffmpeg.c
deleted file mode 100644
index c86ccfa3efe5..000000000000
--- a/audio/cmus/files/patch-ip_ffmpeg.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- ip/ffmpeg.c.orig	2022-07-05 20:20:28 UTC
-+++ ip/ffmpeg.c
-@@ -202,9 +202,6 @@ static int ffmpeg_open(struct input_plugin_data *ip_da
- 			break;
- 		}
- 
--		if (codec->capabilities & AV_CODEC_CAP_TRUNCATED)
--			cc->flags |= AV_CODEC_FLAG_TRUNCATED;
--
- 		if (avcodec_open2(cc, codec, NULL) < 0) {
- 			d_print("could not open codec: %d, %s\n", cc->codec_id, avcodec_get_name(cc->codec_id));
- 			err = -IP_ERROR_UNSUPPORTED_FILE_TYPE;