Control: tags 984050 + patch Control: tags 984050 + pending Dear maintainer,
I've prepared an NMU for endless-sky (versioned as 0.9.8-1.2) and uploaded it to DELAYED/14. Please feel free to tell me if I should cancel it. cu Adrian
diff -Nru endless-sky-0.9.8/debian/changelog endless-sky-0.9.8/debian/changelog --- endless-sky-0.9.8/debian/changelog 2020-08-26 12:49:19.000000000 +0300 +++ endless-sky-0.9.8/debian/changelog 2021-12-09 19:56:16.000000000 +0200 @@ -1,3 +1,10 @@ +endless-sky (0.9.8-1.2) unstable; urgency=medium + + * Non-maintainer upload. + * Add upstream fix for FTBFS with gcc 11. (Closes: #984050) + + -- Adrian Bunk <b...@debian.org> Thu, 09 Dec 2021 19:56:16 +0200 + endless-sky (0.9.8-1.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru endless-sky-0.9.8/debian/patches/0001-build-fix-compilation-on-gcc11.patch endless-sky-0.9.8/debian/patches/0001-build-fix-compilation-on-gcc11.patch --- endless-sky-0.9.8/debian/patches/0001-build-fix-compilation-on-gcc11.patch 1970-01-01 02:00:00.000000000 +0200 +++ endless-sky-0.9.8/debian/patches/0001-build-fix-compilation-on-gcc11.patch 2021-12-09 19:56:16.000000000 +0200 @@ -0,0 +1,38 @@ +From 9be92973752146b1f8fffa15c18a13a58413cfc6 Mon Sep 17 00:00:00 2001 +From: tehhowch <tehho...@users.noreply.github.com> +Date: Wed, 3 Mar 2021 20:28:22 -0600 +Subject: build: fix compilation on gcc11 + + - add missing `<limits>` includes for uses of `numeric_limits` +--- + source/MapDetailPanel.cpp | 1 + + source/PlayerInfo.cpp | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/source/MapDetailPanel.cpp b/source/MapDetailPanel.cpp +index 05ea529c..9bd24f8c 100644 +--- a/source/MapDetailPanel.cpp ++++ b/source/MapDetailPanel.cpp +@@ -40,6 +40,7 @@ PARTICULAR PURPOSE. See the GNU General Public License for more details. + + #include <algorithm> + #include <cmath> ++#include <limits> + #include <set> + #include <utility> + #include <vector> +diff --git a/source/PlayerInfo.cpp b/source/PlayerInfo.cpp +index df2393ea..2aea92f7 100644 +--- a/source/PlayerInfo.cpp ++++ b/source/PlayerInfo.cpp +@@ -39,6 +39,7 @@ PARTICULAR PURPOSE. See the GNU General Public License for more details. + + #include <algorithm> + #include <ctime> ++#include <limits> + #include <sstream> + + using namespace std; +-- +2.20.1 + diff -Nru endless-sky-0.9.8/debian/patches/series endless-sky-0.9.8/debian/patches/series --- endless-sky-0.9.8/debian/patches/series 2020-08-26 12:41:12.000000000 +0300 +++ endless-sky-0.9.8/debian/patches/series 2021-12-09 19:56:16.000000000 +0200 @@ -1 +1,2 @@ 0001-fix-Add-missing-string-include.patch +0001-build-fix-compilation-on-gcc11.patch