diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-01-03 16:03:47 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-01-03 16:03:47 +0100 |
commit | 19b3c6b8bd419836899df094475ca5e941c97364 (patch) | |
tree | 35f03bbebbe31e605a131db20c69576da8e031e7 /games-strategy/colobot | |
parent | xfce-extra/xfce4-screensaver: Bump to 4.16.0 (diff) | |
download | gentoo-19b3c6b8bd419836899df094475ca5e941c97364.tar.gz gentoo-19b3c6b8bd419836899df094475ca5e941c97364.tar.bz2 gentoo-19b3c6b8bd419836899df094475ca5e941c97364.zip |
games-strategy/colobot: Backport gcc-10 build fix
Closes: https://bugs.gentoo.org/722132
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'games-strategy/colobot')
-rw-r--r-- | games-strategy/colobot/files/colobot-0.1.12-includes.patch | 22 |
1 files changed, 22 insertions, 0 deletions
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 1fb3a2730c44..3bd118a1ef1d 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 <veg@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 + { + |