From nobody Wed Mar 15 08:45:29 2023 X-Original-To: dev-commits-ports-main@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 4Pc3r95bNRz3yF7w; Wed, 15 Mar 2023 08:45:29 +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 4Pc3r94rhmz3tdT; Wed, 15 Mar 2023 08:45:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678869929; 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=m/f3nEK0BgHns0DXx+80wfG/0/uXrUg1LWKURJcu8P0=; b=PjUKDkZzjLuXYYfkDRH2t7oASZZiVYIEgObalgv2Dax/q8hJEq9jD0mPiZ6ul2qCjOCFRD FFr53lF6pKI2a1DZ+leImOwgMCT//rKQueiF8Asq20Q3v/Pyxtk/2W4klZ2qBucPU9NLak japPmIAf/16RrrUfORL0IC0maen8wv1UGiaGLlbBF2pNH/S0pC6OFZZE48BWLIXJZX3BF7 YYbVo9R/dPfFopI1xo+HkDHnUgSBrGKtO0ZCctt6gOzm4tHbgYkHkPviRWblLpRIaE4wiZ vO3i/b3kl1J2gzlzug5JehZmxkEmmcdOqO8Bi/I1fefqLTGnFzjdCWOkE1VAbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678869929; 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=m/f3nEK0BgHns0DXx+80wfG/0/uXrUg1LWKURJcu8P0=; b=sAgIec6UrjoApHWXcNvqDAIhpVJ1gxjNGPkky+8778xnsvuVEYJjslSqeHYH2uKAGTEoMW lJs1hUwZPb7rd7xka7kIRBVCCAihtjJ5jIfKMRFQQe8OdCEm0p5IltXjE+rCweJ4A7zz6m LUPKu0EHJ6Bf2xk/sT7w8Z8gC8TXxlsuF8mYwPHZww2hdgWVe9xToIYY9ivJtdMwU42MAd rgp44AwAX+XUBL+q9OiUChpKEOE+UG2lq61MRI6QnpxlAXRDd5MVwdXztZI6j3L7dJOlL9 m5BOx16QD4dNzn0Coe4ETNdzZIcJ/Mr7Hc2AZ/fartiRVzmLlovsDQmuk2UOEQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678869929; a=rsa-sha256; cv=none; b=KdYFZeBtxgp0ZIPYZ7vqe3ZyZvJwNk5OCV91cW6/LFxznZV0G3niW0/i4i6tJtBIDLZBw3 i8mG+W06kDC5P1jP9AWoZi/iTO6Dzqti7is30qN5GHsQO0EwH0nJKsuL351KDcc9ByskcZ 9j3i5QlaSyXb78qysEZVlU1UePlFTAJ7nfijEaXDmZf2x9kgAzMCUNg0sHW/SqMUw6k1Bm G+gLO6GLH+V332Gqs0VjujwE1uQ1jdVQDkn29wVyyw3IS8xUx49gYc3O/hbYcgRrrjfq2P 2jOAVHZN4a4ltqWCM2TECwGbdjuDlznc3DSGv7q4gl6uN3U8n9E9/Q7D+koqYw== 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 4Pc3r93yTlz19Bp; Wed, 15 Mar 2023 08:45:29 +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 32F8jTR6068330; Wed, 15 Mar 2023 08:45:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32F8jT58068329; Wed, 15 Mar 2023 08:45:29 GMT (envelope-from git) Date: Wed, 15 Mar 2023 08:45:29 GMT Message-Id: <202303150845.32F8jT58068329@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: 8cc20c36d144 - main - audio/cmus: FFmpeg 6.0 compatibility fix List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8cc20c36d14430a87428e2c46238af90b8b50ff8 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=8cc20c36d14430a87428e2c46238af90b8b50ff8 commit 8cc20c36d14430a87428e2c46238af90b8b50ff8 Author: Daniel Engberg AuthorDate: 2023-03-15 08:42:15 +0000 Commit: Nuno Teixeira CommitDate: 2023-03-15 08:45:11 +0000 audio/cmus: FFmpeg 6.0 compatibility fix Patch required to build with FFmpeg 6.0 Reference: https://git.alpinelinux.org/aports/tree/community/cmus/ffmpeg6.patch PR: 270179 --- audio/cmus/files/patch-ip_ffmpeg.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/audio/cmus/files/patch-ip_ffmpeg.c b/audio/cmus/files/patch-ip_ffmpeg.c new file mode 100644 index 000000000000..c86ccfa3efe5 --- /dev/null +++ b/audio/cmus/files/patch-ip_ffmpeg.c @@ -0,0 +1,12 @@ +--- 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;