From 83a771b08d1a9772972a24d6aff54b01d372ac5d9df682e48fc2296704954516 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Wed, 3 May 2023 06:52:19 +0000 Subject: [PATCH] Accepting request 1083028 from home:iznogood:factory - Add mygui-add-missing-include.patch: Add missing include exposed by gcc 13. OBS-URL: https://build.opensuse.org/request/show/1083028 OBS-URL: https://build.opensuse.org/package/show/games/MyGUI?expand=0&rev=28 --- MyGUI.changes | 6 ++++++ MyGUI.spec | 4 +++- mygui-add-missing-include.patch | 12 ++++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 mygui-add-missing-include.patch diff --git a/MyGUI.changes b/MyGUI.changes index 61c9db7..9ffd422 100644 --- a/MyGUI.changes +++ b/MyGUI.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 26 13:54:31 UTC 2023 - Bjørn Lie + +- Add mygui-add-missing-include.patch: Add missing include exposed + by gcc 13. + ------------------------------------------------------------------- Sun Dec 19 16:48:27 UTC 2021 - Ferdinand Thiessen diff --git a/MyGUI.spec b/MyGUI.spec index c469009..ac4c21f 100644 --- a/MyGUI.spec +++ b/MyGUI.spec @@ -1,7 +1,7 @@ # # spec file for package MyGUI # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2014 B1 Systems GmbH, Vohburg, Germany. # # All modifications and additions to the file contributed by third parties @@ -33,6 +33,8 @@ Source99: %{name}-rpmlintrc Patch0: MyGUI-install-libCommon.patch # PATCH-FIX-UPSTREAM 0001-Fix-linking-with-Wl-no-undefined.patch -- https://github.com/MyGUI/mygui/pull/232 Patch1: 0001-Fix-linking-with-Wl-no-undefined.patch +# PATCH-FIX-UPSTREAM mygui-add-missing-include.patch -- Add missing include +Patch2: mygui-add-missing-include.patch BuildRequires: cmake BuildRequires: dejavu BuildRequires: dos2unix diff --git a/mygui-add-missing-include.patch b/mygui-add-missing-include.patch new file mode 100644 index 0000000..4466f17 --- /dev/null +++ b/mygui-add-missing-include.patch @@ -0,0 +1,12 @@ +Index: mygui-MyGUI3.4.1/MyGUIEngine/include/MyGUI_Types.h +=================================================================== +--- mygui-MyGUI3.4.1.orig/MyGUIEngine/include/MyGUI_Types.h ++++ mygui-MyGUI3.4.1/MyGUIEngine/include/MyGUI_Types.h +@@ -12,6 +12,7 @@ + #include + #include + #include ++#include + + #include "MyGUI_Align.h" + #include "MyGUI_TPoint.h"