Add missing #include for gcc-10

This commit is contained in:
Jeff Law 2019-12-14 10:28:39 -07:00
parent e9152819c0
commit 6cf65dc500
2 changed files with 16 additions and 1 deletions

View File

@ -0,0 +1,11 @@
diff -Nrup a/source/Panel.h b/source/Panel.h
--- source/Panel.h 2017-08-12 15:37:19.000000000 -0600
+++ source/Panel.h 2019-09-23 18:00:51.415560466 -0600
@@ -17,6 +17,7 @@ PARTICULAR PURPOSE. See the GNU General
#include <functional>
#include <list>
+#include <string>
#include <SDL2/SDL.h>

View File

@ -2,7 +2,7 @@
Name: endless-sky
Version: 0.9.10
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Space exploration, trading, and combat game
License: GPLv3
@ -16,6 +16,7 @@ Source1: endless-sky-wrapper
Patch0: endless-sky-0.8.10-remove-games-path.patch
# Unset CCFLAGS override inside SConstruct.
Patch1: endless-sky-0.9.4-remove-additional-ccflags.patch
Patch2: endless-sky-0.9.10-gcc10.patch
Requires: %{name}-data = %{version}-%{release}
BuildRequires: scons
@ -104,6 +105,9 @@ sed -i 's|/app|%{_prefix}|g' %{buildroot}%{_bindir}/%{name}
%changelog
* Sat Dec 14 2019 Jeff Law <law@redhat.com> - 0.9.10-2
- Fix missing #include for gcc-10
* Mon Sep 30 2019 Gwyn Ciesla <gwync@protonmail.com> - 0.9.10-1
- 0.9.10
- Environment patch upstreamed.