Add missing #include for gcc-11
This commit is contained in:
parent
3e34a88ce9
commit
3c83ca8322
|
@ -0,0 +1,12 @@
|
||||||
|
diff --git a/src/global/entities.cpp b/src/global/entities.cpp
|
||||||
|
index 9e0e3d1..b6d7f44 100644
|
||||||
|
--- a/src/global/entities.cpp
|
||||||
|
+++ b/src/global/entities.cpp
|
||||||
|
@@ -10,6 +10,7 @@
|
||||||
|
#include <stdexcept>
|
||||||
|
#include <unordered_map>
|
||||||
|
#include <vector>
|
||||||
|
+#include <limits>
|
||||||
|
#include <QByteArray>
|
||||||
|
#include <QHash>
|
||||||
|
#include <QString>
|
|
@ -1,12 +1,13 @@
|
||||||
Name: mmapper
|
Name: mmapper
|
||||||
Version: 20.10.0
|
Version: 20.10.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Graphical MUME mapper
|
Summary: Graphical MUME mapper
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/MUME/MMapper
|
URL: https://github.com/MUME/MMapper
|
||||||
Source0: https://github.com/MUME/MMapper/archive/v%{version}/MMapper-%{version}.tar.gz
|
Source0: https://github.com/MUME/MMapper/archive/v%{version}/MMapper-%{version}.tar.gz
|
||||||
Source1: https://github.com/g-truc/glm/releases/download/0.9.9.7/glm-0.9.9.7.zip
|
Source1: https://github.com/g-truc/glm/releases/download/0.9.9.7/glm-0.9.9.7.zip
|
||||||
|
Patch0: mmapper-gcc11.patch
|
||||||
|
|
||||||
BuildRequires: /usr/bin/appstream-util
|
BuildRequires: /usr/bin/appstream-util
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
|
@ -64,6 +65,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.mume.MMapper.d
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 15 2020 Jeff Law <law@redhat.com> - 20.10.0-2
|
||||||
|
- Add missing #include for gcc-11
|
||||||
|
|
||||||
* Wed Oct 14 2020 Kalev Lember <klember@redhat.com> - 20.10.0-1
|
* Wed Oct 14 2020 Kalev Lember <klember@redhat.com> - 20.10.0-1
|
||||||
- Update to 20.10.0
|
- Update to 20.10.0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue