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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 995321382C5 for ; Thu, 29 Apr 2021 08:23:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60C97E0880; Thu, 29 Apr 2021 08:23:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 47CC2E0880 for ; Thu, 29 Apr 2021 08:23:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A5E453410D7 for ; Thu, 29 Apr 2021 08:23:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C96D9753 for ; Thu, 29 Apr 2021 08:23:30 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1619647707.42c4211c4cdfe5106f81a079522d7080a769c38a.mgorny@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: games-action/multimc/files/, games-action/multimc/ X-VCS-Repository: repo/proj/guru X-VCS-Files: games-action/multimc/files/multimc-0.6.12-gcc11.patch games-action/multimc/multimc-0.6.12.ebuild X-VCS-Directories: games-action/multimc/ games-action/multimc/files/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 42c4211c4cdfe5106f81a079522d7080a769c38a X-VCS-Branch: master Date: Thu, 29 Apr 2021 08:23:30 +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: 90c936d0-90fc-4bbd-ab8e-8ef8a3d3db90 X-Archives-Hash: 44d32f0894547d1b6160cc727e1a0189 commit: 42c4211c4cdfe5106f81a079522d7080a769c38a Author: YOSHIOKA Takuma hard-wi red> AuthorDate: Wed Apr 28 22:08:27 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Apr 28 22:08:27 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=42c4211c games-action/multimc: Fix build failure with gcc-11.1.0 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: YOSHIOKA Takuma hard-wi.red> games-action/multimc/files/multimc-0.6.12-gcc11.patch | 11 +++++++++++ games-action/multimc/multimc-0.6.12.ebuild | 1 + 2 files changed, 12 insertions(+) diff --git a/games-action/multimc/files/multimc-0.6.12-gcc11.patch b/games-action/multimc/files/multimc-0.6.12-gcc11.patch new file mode 100644 index 000000000..b523fa7c5 --- /dev/null +++ b/games-action/multimc/files/multimc-0.6.12-gcc11.patch @@ -0,0 +1,11 @@ +diff -Naur MultiMC5-0.6.12.orig/libraries/systeminfo/src/sys_unix.cpp MultiMC5-0.6.12/libraries/systeminfo/src/sys_unix.cpp +--- MultiMC5-0.6.12.orig/libraries/systeminfo/src/sys_unix.cpp 2021-03-22 04:45:06.000000000 +0900 ++++ MultiMC5-0.6.12/libraries/systeminfo/src/sys_unix.cpp 2021-04-29 06:41:55.269952475 +0900 +@@ -4,6 +4,7 @@ + + #include + #include ++#include + + Sys::KernelInfo Sys::getKernelInfo() + { diff --git a/games-action/multimc/multimc-0.6.12.ebuild b/games-action/multimc/multimc-0.6.12.ebuild index cd9640293..bf3a23cfe 100644 --- a/games-action/multimc/multimc-0.6.12.ebuild +++ b/games-action/multimc/multimc-0.6.12.ebuild @@ -45,6 +45,7 @@ RDEPEND="${COMMON_DEPEND} " S="${WORKDIR}/${MY_P}" +PATCHES=( "${FILESDIR}"/multimc-0.6.12-gcc11.patch ) src_unpack() { default