public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-games/mygui/, dev-games/mygui/files/
Date: Tue, 18 Apr 2023 11:31:09 +0000 (UTC)	[thread overview]
Message-ID: <1681817437.790927a7ccf40f62ce7b5f62ddcd88f69ca83d76.sam@gentoo> (raw)

commit:     790927a7ccf40f62ce7b5f62ddcd88f69ca83d76
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 18 11:30:37 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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 <sam@gentoo.org>
+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 <cstdint>
+ #include <vector>
+ #include <map>
+ #include <string>

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() {


             reply	other threads:[~2023-04-18 11:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-18 11:31 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-25 11:24 [gentoo-commits] repo/gentoo:master commit in: dev-games/mygui/, dev-games/mygui/files/ Sam James
2022-03-02  5:04 Sam James
2021-11-16  8:08 Stefan Strogin
2021-11-16  8:08 Stefan Strogin
2020-10-11 10:18 Sergei Trofimovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1681817437.790927a7ccf40f62ce7b5f62ddcd88f69ca83d76.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox