From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B739815827B for ; Mon, 18 Aug 2025 08:12:53 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id A1AF9340DF9 for ; Mon, 18 Aug 2025 08:12:53 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 9248E110280; Mon, 18 Aug 2025 08:12:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 87A0A110280 for ; Mon, 18 Aug 2025 08:12:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3F86834072E for ; Mon, 18 Aug 2025 08:12:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2DFD13222 for ; Mon, 18 Aug 2025 08:12:50 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1755504746.94b3cf1a5e5d1632bbc54ca50555dd70e62ab9ba.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/xmms2/files/, media-sound/xmms2/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/xmms2/files/xmms2-0.9.5-ffmpeg8.patch media-sound/xmms2/xmms2-0.9.5-r1.ebuild X-VCS-Directories: media-sound/xmms2/files/ media-sound/xmms2/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 94b3cf1a5e5d1632bbc54ca50555dd70e62ab9ba X-VCS-Branch: master Date: Mon, 18 Aug 2025 08:12:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 20f84e41-7ab9-4e12-a869-5d5bc76685b4 X-Archives-Hash: 74b01b8bf0c62095cc8218f7ff0029d5 commit: 94b3cf1a5e5d1632bbc54ca50555dd70e62ab9ba Author: Ionen Wolkens gentoo org> AuthorDate: Mon Aug 18 07:19:28 2025 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Mon Aug 18 08:12:26 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94b3cf1a media-sound/xmms2: fix build with ffmpeg-8 Sent fix upstream too (not reviewed/merged yet, hopefully correct). Signed-off-by: Ionen Wolkens gentoo.org> media-sound/xmms2/files/xmms2-0.9.5-ffmpeg8.patch | 30 +++++++++++++++++++++++ media-sound/xmms2/xmms2-0.9.5-r1.ebuild | 1 + 2 files changed, 31 insertions(+) diff --git a/media-sound/xmms2/files/xmms2-0.9.5-ffmpeg8.patch b/media-sound/xmms2/files/xmms2-0.9.5-ffmpeg8.patch new file mode 100644 index 000000000000..6ba3aa4d1ada --- /dev/null +++ b/media-sound/xmms2/files/xmms2-0.9.5-ffmpeg8.patch @@ -0,0 +1,30 @@ +https://github.com/xmms2/xmms2-devel/pull/63 +--- a/src/plugins/avcodec/avcodec.c ++++ b/src/plugins/avcodec/avcodec.c +@@ -131,6 +131,5 @@ + g_return_if_fail (data); + +- avcodec_close (data->codecctx); +- av_free (data->codecctx); ++ avcodec_free_context (&(data->codecctx)); + av_frame_free (&data->read_out_frame); + +@@ -252,5 +251,4 @@ + } else { + XMMS_DBG ("First read failed, codec is not working..."); +- avcodec_close (data->codecctx); + goto err; + } +@@ -261,5 +259,4 @@ + data->sampleformat = xmms_avcodec_translate_sample_format (data->codecctx->sample_fmt); + if (data->sampleformat == XMMS_SAMPLE_FORMAT_UNKNOWN) { +- avcodec_close (data->codecctx); + goto err; + } +@@ -285,5 +282,5 @@ + err: + if (data->codecctx) { +- av_free (data->codecctx); ++ avcodec_free_context (&(data->codecctx)); + } + if (data->read_out_frame) { diff --git a/media-sound/xmms2/xmms2-0.9.5-r1.ebuild b/media-sound/xmms2/xmms2-0.9.5-r1.ebuild index 450f666389b8..29c387ddf6d4 100644 --- a/media-sound/xmms2/xmms2-0.9.5-r1.ebuild +++ b/media-sound/xmms2/xmms2-0.9.5-r1.ebuild @@ -133,6 +133,7 @@ QA_CONFIG_IMPL_DECL_SKIP=( PATCHES=( "${FILESDIR}"/${PN}-0.9.1-cpp-client.patch "${FILESDIR}"/${PN}-0.9.1-faad.patch + "${FILESDIR}"/${P}-ffmpeg8.patch ) src_prepare() {