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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 35E5F15ACFB for ; Tue, 18 Apr 2023 11:31:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66AE7E08F2; Tue, 18 Apr 2023 11:31:12 +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 42644E08F2 for ; Tue, 18 Apr 2023 11:31: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 24D2A340C6C for ; Tue, 18 Apr 2023 11:31:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6A8CCA1D for ; Tue, 18 Apr 2023 11:31:09 +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: <1681817437.790927a7ccf40f62ce7b5f62ddcd88f69ca83d76.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-games/mygui/, dev-games/mygui/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-games/mygui/files/mygui-3.4.1-gcc13.patch dev-games/mygui/mygui-3.4.1.ebuild X-VCS-Directories: dev-games/mygui/files/ dev-games/mygui/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 790927a7ccf40f62ce7b5f62ddcd88f69ca83d76 X-VCS-Branch: master Date: Tue, 18 Apr 2023 11:31:09 +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: 0e8a58e2-59e0-4fa4-bc55-1b6c8e2c26f8 X-Archives-Hash: b06f846ec2a30bd9a70fdbecd7ddc39e commit: 790927a7ccf40f62ce7b5f62ddcd88f69ca83d76 Author: Sam James gentoo org> AuthorDate: Tue Apr 18 11:30:37 2023 +0000 Commit: Sam James gentoo org> CommitDate: Tue Apr 18 11:30:37 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=790927a7 dev-games/mygui: fix build w/ gcc 13 Closes: https://bugs.gentoo.org/895098 Signed-off-by: Sam James gentoo.org> dev-games/mygui/files/mygui-3.4.1-gcc13.patch | 23 +++++++++++++++++++++++ dev-games/mygui/mygui-3.4.1.ebuild | 3 ++- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/dev-games/mygui/files/mygui-3.4.1-gcc13.patch b/dev-games/mygui/files/mygui-3.4.1-gcc13.patch new file mode 100644 index 000000000000..542df19bcfc5 --- /dev/null +++ b/dev-games/mygui/files/mygui-3.4.1-gcc13.patch @@ -0,0 +1,23 @@ +https://github.com/MyGUI/mygui/pull/249 + +From f97c85b4e096379f728700d61c2f5780043dfc0a Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Tue, 18 Apr 2023 12:29:08 +0100 +Subject: [PATCH] Fix build with GCC 13 + +GCC 13 (as usual for new compiler releases) shuffles around some internal includes so some +are no longer transitively included. + +See https://gnu.org/software/gcc/gcc-13/porting_to.html. + +Bug: https://bugs.gentoo.org/895098 +--- a/MyGUIEngine/include/MyGUI_Types.h ++++ b/MyGUIEngine/include/MyGUI_Types.h +@@ -9,6 +9,7 @@ + + #include "MyGUI_Prerequest.h" + ++#include + #include + #include + #include diff --git a/dev-games/mygui/mygui-3.4.1.ebuild b/dev-games/mygui/mygui-3.4.1.ebuild index 182b5dbdf3cd..84c0fdb8b016 100644 --- a/dev-games/mygui/mygui-3.4.1.ebuild +++ b/dev-games/mygui/mygui-3.4.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -42,6 +42,7 @@ STATIC_BUILD=${WORKDIR}/${P}_build_static PATCHES=( "${FILESDIR}"/${P}-build.patch "${FILESDIR}"/${P}-FHS.patch + "${FILESDIR}"/${P}-gcc13.patch ) pkg_setup() {