commit: 9387af768b7a8c0337e9a37ca8eccb7c0b217118 Author: Violet Purcell <vimproved <AT> inventati <DOT> org> AuthorDate: Fri Jan 16 04:44:12 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Feb 11 02:51:55 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9387af76
dev-games/mygui: backport fix for libc++ 18 Upstream: https://github.com/MyGUI/mygui/commit/0731785d83431bd17a0854f19bea9a7d687de5a7 Signed-off-by: Violet Purcell <vimproved <AT> inventati.org> Part-of: https://github.com/gentoo/gentoo/pull/45397 Closes: https://github.com/gentoo/gentoo/pull/45397 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-games/mygui/files/mygui-3.4.3-libcxx-18.patch | 21 +++++++++++++++++++++ dev-games/mygui/mygui-3.4.3.ebuild | 5 ++++- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/dev-games/mygui/files/mygui-3.4.3-libcxx-18.patch b/dev-games/mygui/files/mygui-3.4.3-libcxx-18.patch new file mode 100644 index 000000000000..e4bf5626798e --- /dev/null +++ b/dev-games/mygui/files/mygui-3.4.3-libcxx-18.patch @@ -0,0 +1,21 @@ +From https://github.com/MyGUI/mygui/commit/0731785d83431bd17a0854f19bea9a7d687de5a7 Mon Sep 17 00:00:00 2001 +From: George Evmenov <[email protected]> +Date: Thu, 6 Mar 2025 03:06:03 +0300 +Subject: [PATCH] do not use std::basic_string with non-standard types + (deprecated in llvm-18) + +--- a/MyGUIEngine/include/MyGUI_UString.h ++++ b/MyGUIEngine/include/MyGUI_UString.h +@@ -163,10 +163,10 @@ namespace MyGUI + static const size_type npos = std::numeric_limits<size_t>::max(); + + //! a single 32-bit Unicode character +- using unicode_char = uint32; ++ using unicode_char = char32_t; + + //! a single UTF-16 code point +- using code_point = uint16; ++ using code_point = char16_t; + + //! value type typedef for use in iterators + using value_type = code_point; diff --git a/dev-games/mygui/mygui-3.4.3.ebuild b/dev-games/mygui/mygui-3.4.3.ebuild index f51258396e99..46824cac17d1 100644 --- a/dev-games/mygui/mygui-3.4.3.ebuild +++ b/dev-games/mygui/mygui-3.4.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -43,6 +43,9 @@ PATCHES=( "${FILESDIR}"/mygui-3.4.1-build.patch "${FILESDIR}"/mygui-3.4.1-FHS.patch "${FILESDIR}"/mygui-3.4.3-werror.patch + + # backport + "${FILESDIR}"/${P}-libcxx-18.patch ) pkg_setup() {
