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 5E2BF158095 for ; Sun, 28 Aug 2022 00:10:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1518E08ED; Sun, 28 Aug 2022 00:10:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 879B2E08DD for ; Sun, 28 Aug 2022 00:10:12 +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 BDDA434123C for ; Sun, 28 Aug 2022 00:10:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 07E3956D for ; Sun, 28 Aug 2022 00:10:10 +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: <1661645320.59ff79ab1c87e63d8b6a6b5d9828f4bc48b56ec2.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/openmw/, games-engines/openmw/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-engines/openmw/files/openmw-0.47.0-gcc12.patch games-engines/openmw/openmw-0.47.0-r1.ebuild X-VCS-Directories: games-engines/openmw/ games-engines/openmw/files/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 59ff79ab1c87e63d8b6a6b5d9828f4bc48b56ec2 X-VCS-Branch: master Date: Sun, 28 Aug 2022 00:10:10 +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: da782338-75f7-411a-acc5-7c29012f67ef X-Archives-Hash: d5bc8214de96971db1dc87425b92d44e commit: 59ff79ab1c87e63d8b6a6b5d9828f4bc48b56ec2 Author: Ionen Wolkens gentoo org> AuthorDate: Sat Aug 27 23:52:39 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sun Aug 28 00:08:40 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59ff79ab games-engines/openmw: fix build with gcc12 Seeing users hit this, so fixing myself quick. Builds but not thoroughly tested so there could be other issues. Closes: https://bugs.gentoo.org/858725 Signed-off-by: Ionen Wolkens gentoo.org> .../openmw/files/openmw-0.47.0-gcc12.patch | 33 ++++++++++++++++++++++ games-engines/openmw/openmw-0.47.0-r1.ebuild | 3 +- 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/games-engines/openmw/files/openmw-0.47.0-gcc12.patch b/games-engines/openmw/files/openmw-0.47.0-gcc12.patch new file mode 100644 index 000000000000..4c04d7b25c78 --- /dev/null +++ b/games-engines/openmw/files/openmw-0.47.0-gcc12.patch @@ -0,0 +1,33 @@ +Backport missing includes causing issues with gcc12. +https://bugs.gentoo.org/858725 +https://gitlab.com/OpenMW/openmw/-/commit/5f2e282359 +From: elsid +Date: Tue, 17 May 2022 00:58:24 +0200 +Subject: [PATCH] Add includes for used types and functions +--- a/components/myguiplatform/myguidatamanager.cpp ++++ b/components/myguiplatform/myguidatamanager.cpp +@@ -1,8 +1,11 @@ + #include "myguidatamanager.hpp" + ++#include ++#include ++ + #include + +-#include ++#include + #include + + #include +--- a/components/myguiplatform/myguidatamanager.hpp ++++ b/components/myguiplatform/myguidatamanager.hpp +@@ -3,6 +3,8 @@ + + #include + ++#include ++ + namespace osgMyGUI + { + +GitLab diff --git a/games-engines/openmw/openmw-0.47.0-r1.ebuild b/games-engines/openmw/openmw-0.47.0-r1.ebuild index 7dd2a4a0a958..0d9ccae64cb6 100644 --- a/games-engines/openmw/openmw-0.47.0-r1.ebuild +++ b/games-engines/openmw/openmw-0.47.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -64,6 +64,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/openmw-0.47.0-mygui-license.patch "${FILESDIR}"/openmw-0.47.0-sigstksz.patch + "${FILESDIR}"/openmw-0.47.0-gcc12.patch ) src_prepare() {