Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package endless-sky for openSUSE:Factory checked in at 2021-06-11 00:17:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/endless-sky (Old) and /work/SRC/openSUSE:Factory/.endless-sky.new.32437 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "endless-sky" Fri Jun 11 00:17:57 2021 rev:8 rq:896624 version:0.9.12 Changes: -------- --- /work/SRC/openSUSE:Factory/endless-sky/endless-sky.changes 2020-08-31 16:52:28.032418913 +0200 +++ /work/SRC/openSUSE:Factory/.endless-sky.new.32437/endless-sky.changes 2021-06-11 00:18:02.253250591 +0200 @@ -1,0 +2,6 @@ +Mon May 31 17:03:16 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr> + +- Add GCC 11 build fix: + * 0001-build-fix-compilation-on-gcc11.patch + +------------------------------------------------------------------- New: ---- 0001-build-fix-compilation-on-gcc11.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ endless-sky.spec ++++++ --- /var/tmp/diff_new_pack.AJduyO/_old 2021-06-11 00:18:03.045251968 +0200 +++ /var/tmp/diff_new_pack.AJduyO/_new 2021-06-11 00:18:03.049251975 +0200 @@ -29,6 +29,8 @@ Patch0: fix-data-path.patch # PATCH-FIX-UPSTREAM https://github.com/endless-sky/endless-sky/commit/bc3cab5992694547f9c6c067b5579ef06224781b#diff-b7ed3e337d47b8f4fe8af4f35db75efd Patch1: string-include.patch +# PATCH-FIX-UPSTREAM +Patch2: 0001-build-fix-compilation-on-gcc11.patch BuildRequires: desktop-file-utils BuildRequires: fdupes BuildRequires: gcc-c++ @@ -53,9 +55,7 @@ find some friendly aliens whose culture is more civilized than your own... %prep -%setup -q -%patch0 -p1 -%patch1 -p1 +%autosetup -p1 %build export CXXFLAGS="%optflags -fvisibility=hidden -fvisibility-inlines-hidden" ++++++ 0001-build-fix-compilation-on-gcc11.patch ++++++ >From df961af9398ae80a0e43120ed71ba6031a32881e Mon Sep 17 00:00:00 2001 From: tehhowch <tehho...@users.noreply.github.com> Date: Wed, 3 Mar 2021 20:28:22 -0600 Subject: [PATCH] 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 79e023d..f90a8e3 100644 --- a/source/MapDetailPanel.cpp +++ b/source/MapDetailPanel.cpp @@ -41,6 +41,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 8630b98..8151e36 100644 --- a/source/PlayerInfo.cpp +++ b/source/PlayerInfo.cpp @@ -41,6 +41,7 @@ PARTICULAR PURPOSE. See the GNU General Public License for more details. #include <algorithm> #include <cmath> #include <ctime> +#include <limits> #include <sstream> using namespace std; -- 2.31.1