audio/cmus: Replace 8cc20c36d1
with upstream fix
This commit is contained in:
parent
ae259e087b
commit
f4410cded2
3 changed files with 4 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
Loading…
Reference in a new issue