public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/openmw/, games-engines/openmw/files/
Date: Sun, 28 Aug 2022 00:10:10 +0000 (UTC)	[thread overview]
Message-ID: <1661645320.59ff79ab1c87e63d8b6a6b5d9828f4bc48b56ec2.ionen@gentoo> (raw)

commit:     59ff79ab1c87e63d8b6a6b5d9828f4bc48b56ec2
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 27 23:52:39 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> 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 <ionen <AT> 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 <elsid.mail@gmail.com>
+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 <memory>
++#include <string>
++
+ #include <MyGUI_DataFileStream.h>
+ 
+-#include <boost/filesystem.hpp>
++#include <boost/filesystem/operations.hpp>
+ #include <boost/filesystem/fstream.hpp>
+ 
+ #include <components/debug/debuglog.hpp>
+--- a/components/myguiplatform/myguidatamanager.hpp
++++ b/components/myguiplatform/myguidatamanager.hpp
+@@ -3,6 +3,8 @@
+ 
+ #include <MyGUI_DataManager.h>
+ 
++#include <string>
++
+ 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() {


             reply	other threads:[~2022-08-28  0:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-28  0:10 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-20 21:09 [gentoo-commits] repo/gentoo:master commit in: games-engines/openmw/, games-engines/openmw/files/ Andreas Sturmlechner
2024-10-20 21:52 James Le Cuirot
2024-03-04 21:48 James Le Cuirot
2023-09-09  0:49 Ionen Wolkens
2023-05-28 13:21 Joonas Niilola
2021-12-06 10:40 David Seifert
2021-05-06 13:18 Joonas Niilola
2021-05-06 13:18 Joonas Niilola
2021-03-08  7:35 Joonas Niilola
2020-07-08  5:44 Joonas Niilola

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=1661645320.59ff79ab1c87e63d8b6a6b5d9828f4bc48b56ec2.ionen@gentoo \
    --to=ionen@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