From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 55684158013 for ; Wed, 6 Dec 2023 08:32:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 70C6C2BC01D; Wed, 6 Dec 2023 08:32:16 +0000 (UTC) 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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3DB0A2BC01D for ; Wed, 6 Dec 2023 08:32:16 +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 C603833FE7D for ; Wed, 6 Dec 2023 08:32:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EECDA13E4 for ; Wed, 6 Dec 2023 08:32:12 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1701851500.fa1593152d4a210b8ac3327557620746b6ddb152.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/mplayer/files/, media-video/mplayer/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/mplayer/files/mplayer-1.5_p20230618-gcc13.patch media-video/mplayer/mplayer-1.5_p20230618.ebuild X-VCS-Directories: media-video/mplayer/files/ media-video/mplayer/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: fa1593152d4a210b8ac3327557620746b6ddb152 X-VCS-Branch: master Date: Wed, 6 Dec 2023 08:32:12 +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: 6b15cc77-cc2f-4152-9f7f-9e13acade3df X-Archives-Hash: f0e25934016c44d984954090818f8532 commit: fa1593152d4a210b8ac3327557620746b6ddb152 Author: Sam James gentoo org> AuthorDate: Wed Dec 6 08:28:04 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed Dec 6 08:31:40 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa159315 media-video/mplayer: backport gcc-13 fix The snapshot I just pushed (1.5_p20231206) will fix it for ~arch users, but let's backport this for stable. Bug: https://bugs.gentoo.org/918113 Signed-off-by: Sam James gentoo.org> media-video/mplayer/files/mplayer-1.5_p20230618-gcc13.patch | 11 +++++++++++ media-video/mplayer/mplayer-1.5_p20230618.ebuild | 4 ++++ 2 files changed, 15 insertions(+) diff --git a/media-video/mplayer/files/mplayer-1.5_p20230618-gcc13.patch b/media-video/mplayer/files/mplayer-1.5_p20230618-gcc13.patch new file mode 100644 index 000000000000..0aab0273d424 --- /dev/null +++ b/media-video/mplayer/files/mplayer-1.5_p20230618-gcc13.patch @@ -0,0 +1,11 @@ +https://bugs.gentoo.org/918113 +--- a/libmpcodecs/mp_image.c ++++ b/libmpcodecs/mp_image.c +@@ -30,6 +30,7 @@ + #include "libmpcodecs/mp_image.h" + #include "libvo/fastmemcpy.h" + #include "libavutil/mem.h" ++#include + #include "mp_msg.h" + + void mp_image_alloc_planes(mp_image_t *mpi) { diff --git a/media-video/mplayer/mplayer-1.5_p20230618.ebuild b/media-video/mplayer/mplayer-1.5_p20230618.ebuild index 3acf8571df98..9a7535cdde6b 100644 --- a/media-video/mplayer/mplayer-1.5_p20230618.ebuild +++ b/media-video/mplayer/mplayer-1.5_p20230618.ebuild @@ -194,6 +194,10 @@ REQUIRED_USE=" xv? ( X )" RESTRICT="faac? ( bindist )" +PATCHES=( + "${FILESDIR}"/${P}-gcc13.patch +) + pkg_setup() { if [[ ${PV} == *9999* ]]; then elog