From ad9198866836c7e0d154da2c47e46fd9b4558bda Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Aug 09 2021 16:48:34 +0000 Subject: Patched and rebuilt for Boost 1.76 --- diff --git a/supertux-cfloat-include.patch b/supertux-cfloat-include.patch new file mode 100644 index 0000000..862d7aa --- /dev/null +++ b/supertux-cfloat-include.patch @@ -0,0 +1,11 @@ +--- SuperTux-v0.6.2-Source/src/supertux/game_session.cpp~ 2021-08-09 17:14:24.963957234 +0100 ++++ SuperTux-v0.6.2-Source/src/supertux/game_session.cpp 2021-08-09 17:14:28.370973819 +0100 +@@ -16,6 +16,8 @@ + + #include "supertux/game_session.hpp" + ++#include ++ + #include "audio/sound_manager.hpp" + #include "control/input_manager.hpp" + #include "gui/menu_manager.hpp" diff --git a/supertux.spec b/supertux.spec index 03a602d..80a45c9 100644 --- a/supertux.spec +++ b/supertux.spec @@ -8,6 +8,8 @@ Summary: Jump'n run like game License: GPLv2+ URL: https://www.supertux.org Source0: https://github.com/SuperTux/%{name}/releases/download/v%{version}/%{_tarname}.tar.gz +# https://github.com/SuperTux/supertux/pull/1804 +Patch0: supertux-cfloat-include.patch # https://bugzilla.redhat.com/show_bug.cgi?id=1833368 ExcludeArch: s390x @@ -49,6 +51,7 @@ Grabbing power-ups and other stuff on the way. %prep %setup -qn %{_tarname} +%patch0 -p 1 %build @@ -88,8 +91,8 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/supertux2.desktop %changelog -* Sat Aug 07 2021 Jonathan Wakely - 0.6.2-7 -- Rebuilt for Boost 1.76 +* Mon Aug 09 2021 Jonathan Wakely - 0.6.2-7 +- Patched and rebuilt for Boost 1.76 * Fri Jul 23 2021 Fedora Release Engineering - 0.6.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild