summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-05-14 10:55:11 +0200
committerMichał Górny <mgorny@gentoo.org>2020-05-14 12:19:09 +0200
commit075e0e10899dabb9e8c1dfc22b3b19a28a436c32 (patch)
treed36dd4766a9cd2274876019fa77415adda775b4f /games-strategy/colobot/files
parentsys-kernel/vanilla-sources: Automated version bump to {4.19.123,5.4.41,5.6.13... (diff)
downloadgentoo-075e0e10899dabb9e8c1dfc22b3b19a28a436c32.tar.gz
gentoo-075e0e10899dabb9e8c1dfc22b3b19a28a436c32.tar.bz2
gentoo-075e0e10899dabb9e8c1dfc22b3b19a28a436c32.zip
games-strategy/colobot: Fix build failure due to missing include
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'games-strategy/colobot/files')
-rw-r--r--games-strategy/colobot/files/colobot-0.1.12-includes.patch23
1 files changed, 23 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
new file mode 100644
index 000000000000..1fb3a2730c44
--- /dev/null
+++ b/games-strategy/colobot/files/colobot-0.1.12-includes.patch
@@ -0,0 +1,23 @@
+From 2cfab017938e1cf44f633647eec2ccc2ed1da38b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Thu, 14 May 2020 10:35:01 +0200
+Subject: [PATCH] Fix missing <limits> include
+
+Add missing <limits> include for std::numeric_limits. This fixes
+build failure after boost stopped implicitly including it for us.
+---
+ src/script/script.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/script/script.h b/src/script/script.h
+index bc64dc232..dd4e02ff4 100644
+--- a/src/script/script.h
++++ b/src/script/script.h
+@@ -27,6 +27,7 @@
+ #include "CBot/CBot.h"
+
+ #include <memory>
++#include <limits>
+ #include <string>
+ #include <boost/optional.hpp>
+