commit: 19b3c6b8bd419836899df094475ca5e941c97364 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun Jan 3 15:03:47 2021 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Jan 3 15:03:47 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19b3c6b8
games-strategy/colobot: Backport gcc-10 build fix Closes: https://bugs.gentoo.org/722132 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> .../colobot/files/colobot-0.1.12-includes.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/games-strategy/colobot/files/colobot-0.1.12-includes.patch b/games-strategy/colobot/files/colobot-0.1.12-includes.patch index 1fb3a2730c4..3bd118a1ef1 100644 --- a/games-strategy/colobot/files/colobot-0.1.12-includes.patch +++ b/games-strategy/colobot/files/colobot-0.1.12-includes.patch @@ -21,3 +21,25 @@ index bc64dc232..dd4e02ff4 100644 #include <string> #include <boost/optional.hpp> +From fc2bd68876ac6302dbc8e91e8ffa33592db14b21 Mon Sep 17 00:00:00 2001 +From: suve <v...@svgames.pl> +Date: Sun, 9 Feb 2020 00:36:05 +0100 +Subject: [PATCH] Fix missing std includes + +--- + src/CBot/CBotInstr/CBotExprLitString.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/CBot/CBotInstr/CBotExprLitString.cpp b/src/CBot/CBotInstr/CBotExprLitString.cpp +index fc2541624..69e42d607 100644 +--- a/src/CBot/CBotInstr/CBotExprLitString.cpp ++++ b/src/CBot/CBotInstr/CBotExprLitString.cpp +@@ -24,6 +24,8 @@ + + #include "CBot/CBotVar/CBotVar.h" + ++#include <stdexcept> ++ + namespace CBot + { +