From 3299d83e675d5507ccbd07157ccbdb16ad0a43b8 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Nov 11 2020 22:53:47 +0000 Subject: Fix missing #includes for gcc-11 --- diff --git a/dolphin-emu-gcc11.patch b/dolphin-emu-gcc11.patch new file mode 100644 index 0000000..d8d6ae3 --- /dev/null +++ b/dolphin-emu-gcc11.patch @@ -0,0 +1,24 @@ +diff --git a/Source/Core/Common/Config/Config.cpp b/Source/Core/Common/Config/Config.cpp +index 2211d0d..36aa1c7 100644 +--- a/Source/Core/Common/Config/Config.cpp ++++ b/Source/Core/Common/Config/Config.cpp +@@ -2,6 +2,7 @@ + // Licensed under GPLv2+ + // Refer to the license.txt file included. + ++#include + #include + #include + #include +diff --git a/Source/Core/DiscIO/WIACompression.cpp b/Source/Core/DiscIO/WIACompression.cpp +index 20d19c4..b3bfb64 100644 +--- a/Source/Core/DiscIO/WIACompression.cpp ++++ b/Source/Core/DiscIO/WIACompression.cpp +@@ -4,6 +4,7 @@ + + #include "DiscIO/WIACompression.h" + ++#include + #include + #include + #include diff --git a/dolphin-emu.spec b/dolphin-emu.spec index 7928ad5..b2ec190 100644 --- a/dolphin-emu.spec +++ b/dolphin-emu.spec @@ -11,7 +11,7 @@ Name: dolphin-emu Version: 5.0.%{snapnumber} -Release: 1%{?dist} +Release: 2%{?dist} Summary: GameCube / Wii / Triforce Emulator Url: https://dolphin-emu.org/ @@ -39,6 +39,7 @@ Patch3: 0003-soundtouch-Use-shorts-instead-of-floats-for-samples.patch Patch4: 0004-soundtounch-disable-exceptions.patch #This needs to be fixed, I've reverted the patch that breaks minizip Patch5: 0005-Revert-Externals-Update-minizip-search-path.patch +Patch6: %{name}-gcc11.patch ##Bundled code ahoy #The following isn't in Fedora yet: @@ -254,6 +255,9 @@ appstream-util validate-relax --nonet \ %{_udevrulesdir}/51-dolphin-usb-device.rules %changelog +* Wed Nov 11 2020 Jeff Law - 5.0.12716-2 +- Fix missing #includes for gcc-11 + * Mon Oct 05 2020 Jeremy Newton - 5.0.12716-1 - Update to latest beta version